diff options
Diffstat (limited to 'WorldlineKeepers/Assets/Scripts/Data/DataManager_Func.cs')
-rw-r--r-- | WorldlineKeepers/Assets/Scripts/Data/DataManager_Func.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/WorldlineKeepers/Assets/Scripts/Data/DataManager_Func.cs b/WorldlineKeepers/Assets/Scripts/Data/DataManager_Func.cs new file mode 100644 index 0000000..da84bad --- /dev/null +++ b/WorldlineKeepers/Assets/Scripts/Data/DataManager_Func.cs @@ -0,0 +1,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; + } + + } +}
\ No newline at end of file |