summaryrefslogtreecommitdiff
path: root/WorldlineKeepers/Assets/Scripts/Data/DataManager_Func.cs
blob: da84bad9453af4fde4a977bc761395f099af8ac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace WK.Data
{

    public partial class DataManager : Singleton<DataManager>
    {

        public FileDescriptor GetFile(string filekey)
        {
            FileDescriptor descriptor;
            if(m_Filelist.TryGetValue(filekey, out descriptor))
            {
                return m_Filelist[filekey];
            }
            return null;
        }

    }
}