Базовая инфраструктура
This commit is contained in:
1 parent
2e0dc15beb
commit
b5e28c7abb
117 files changed
+2068
-2031
No files matched your search
@@ -0,0 +1,18 @@
|
||||
using Code.Configs;
|
||||
using Code.Constants;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Code.StaticData
|
||||
{
|
||||
public class StaticDataService : IStaticDataService
|
||||
{
|
||||
public AppConfig AppConfig { get; private set; }
|
||||
public InputConfig InputConfig { get; private set; }
|
||||
|
||||
public void Load()
|
||||
{
|
||||
InputConfig = Resources.Load<InputConfig>(string.Format(StringPaths.ConfigSingle, "App", "InputConfig"));
|
||||
AppConfig = Resources.Load<AppConfig>(string.Format(StringPaths.ConfigSingle, "App", "AppConfig"));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user