private void InitScenesConfig() { if (scenes_config == null) { MLog.LogError(this, "Scenes config is null, quitting application"); MApplication.Quit(); return; } MScenes.SetScenesConfig(scenes_config); }
private void SpawnServicesPrefab() { if (services_prefab == null) { MLog.LogError(this, "Services prefab is null, quitting application"); MApplication.Quit(); return; } GameObject services_instance = Instantiate(services_prefab); services_instance.name = "Services"; }