Пример #1
0
    private void Awake()
    {
        var caveObject = new GameObject("Caves");

        _cave = caveObject.AddComponent <CaveHandler>();

        _shrooms  = new ShroomPool();
        _stals    = new StalPool();
        _moths    = new MothPool();
        _spiders  = new SpiderPool();
        _webs     = new WebPool();
        _triggers = new TriggerHandler();
        _npcs     = new NPCPool();
    }
Пример #2
0
 public LoadingContext(string LocalPath, string WebPath, WebPool WebPool)
 {
     _localPath = LocalPath;
     _webPath   = WebPath;
     _webPool   = WebPool;
 }
Пример #3
0
 private void Awake()
 {
     SharedInstance = this;
 }