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(); }
public LoadingContext(string LocalPath, string WebPath, WebPool WebPool) { _localPath = LocalPath; _webPath = WebPath; _webPool = WebPool; }
private void Awake() { SharedInstance = this; }