예제 #1
0
    private void Awake()
    {
        EntranceText    = GameObject.Find("Canvas").transform.Find("EntranceText").GetComponent <Text>();
        QuestController = new MQuestController(CQuestDBManager.GetInstance().ReadAllQuest(), Floors);

        MStoreUIFunctionLibrary.StoreEvent = StoreUpgrade;
    }
예제 #2
0
    public static CQuestDBManager GetInstance()
    {
        if (instance == null)
        {
            instance = new CQuestDBManager();
        }

        return(instance);
    }
예제 #3
0
    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();
        }
    }