private void Awake() { EntranceText = GameObject.Find("Canvas").transform.Find("EntranceText").GetComponent <Text>(); QuestController = new MQuestController(CQuestDBManager.GetInstance().ReadAllQuest(), Floors); MStoreUIFunctionLibrary.StoreEvent = StoreUpgrade; }
public static CQuestDBManager GetInstance() { if (instance == null) { instance = new CQuestDBManager(); } return(instance); }
private void Awake() { CheckDataDeleteUI.SetActive(false); CQuestDBManager.GetInstance().DBCreate(); CSaveGame SaveGame = CSaveGame.GetInstance(); if (!SaveGame.LoadControlSetting()) { SaveGame.Save(); SaveGame.LoadControlSetting(); } if (!SaveGame.LoadSoundInfo()) { SaveGame.Save(); SaveGame.LoadSoundInfo(); } }