Beispiel #1
0
        public override void HandleDoubleClick()
        {
            if (IndexToWatch != -1)
            {
                MonsterTest CurrentValue = Owner.GetManager().EditorGetValueAtIndex(IndexToWatch);

                MonsterTestWindow.CurrentlyOpenTest = CurrentValue;
                MonsterTestWindow.Init();
            }
        }
Beispiel #2
0
        public static MonsterTest CreateNewMonsterTest()
        {
            MonsterTest NewTest = new MonsterTest();

            NewTest.CreateStaticNodesIfNotPresent();

            NewTest.LoadTestStates();
            NewTest.EditorSetFilename(MonsterTestListWindow.NewTestName);
            NewTest.EditorSaveMonsterTest();

            MonsterTestWindow.CurrentlyOpenTest = NewTest;
            MonsterTestWindow.Init();

            MonsterTestList.EditorMoveTestToMainList(NewTest);

            return(NewTest);
        }