private void Awake() { if (instance == null) { instance = this; } archievePath = Application.persistentDataPath + "/Archieve"; MapManager mapManager = (MapManager)FindObjectOfType <MapManager>(); mapManager.Init(); collectionUIController = (CollectionUIController)FindObjectOfType <CollectionUIController>(); collectionUIController.Init(); Framework.Instance.Initialize(); AudioController audioController = FindObjectOfType <AudioController>(); audioController.Init(); MapManager.instance.LoadMapPieceInfo(); ResolveArchieve(); AudioController.instance.PlayHaru(); Time.timeScale = 0.0f; }
void Start() { collectionUIController = CollectionUIController.Instance; Debug.Log("collection UI Controller is "); Debug.Log(collectionUIController); }