Ejemplo n.º 1
0
    // Start is called before the first frame update
    private IEnumerator Init()
    {
        JobData.Load();
        SkillData.Load();
        EnemyData.Load();
        BattleTileData.Load();
        BattlefieldData.Load();
        BattleGroupData.Load();
        BattleStatusData.Load();
        ItemData.Load();
        EquipData.Load();
        ItemEffectData.Load();
        LanguageData.Load();
        DungeonData.Load();
        RoomData.Load();
        TreasureData.Load();
        ConversationData.Load();
        ShopData.Load();
        DungeonGroupData.Load();
        ExpData.Load();
        NewCookData.Load();

        yield return(new WaitForEndOfFrame());

        InitManager();

        MySceneManager.Instance.Load();

#if UNITY_EDITOR
        DebugCommand.Start();
#endif
    }
Ejemplo n.º 2
0
 private void SetResult()
 {
     _food = NewCookData.GetFood(MaterialList);
     if (_food != null)
     {
         ResultNameLabel.text    = _food.Name;
         ResultCommentLabel.text = _food.Comment;
         MakeButton.gameObject.SetActive(true);
     }
     else
     {
         ResultNameLabel.text    = string.Empty;
         ResultCommentLabel.text = string.Empty;
         MakeButton.gameObject.SetActive(false);
     }
 }