コード例 #1
0
ファイル: MainEditor.cs プロジェクト: JDub515/Tactics-Game
        private void OnEnable()
        {
            minSize       = new Vector2(600.0f, 400.0f);
            _toolbarIndex = 0;

            GameRulesWindow.CheckForIssues();
            GameRulesWindow.OnIssuesUpdated += UpdateMiniToolbar;

            CreateEditors();
        }
コード例 #2
0
ファイル: MainEditor.cs プロジェクト: tcape/stc_game
        private void OnEnable()
        {
            minSize      = new Vector2(600.0f, 400.0f);
            toolbarIndex = 0;

            //if (ItemManager.database == null)
            //    return;

//            _databasesInProject = AssetDatabase.FindAssets("t:" + typeof(InventoryItemDatabase).Name);

            GameRulesWindow.CheckForIssues();
            GameRulesWindow.OnIssuesUpdated += UpdateMiniToolbar;

            CreateEditors();
        }