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

                MonsterTestWindow.CurrentlyOpenTest = CurrentValue;
                MonsterTestWindow.Init();
            }
        }
예제 #2
0
        static public void SaveTestStateList()
        {
            MonsterTestManager.GetActiveInstance().SaveEntities();

            if (CurrentlyOpenTest != null)
            {
                CurrentlyOpenTest.EditorSaveMonsterTest();
            }

            MonsterTestWindow.GetInstance().SerializeBoxMetadata(true);
        }
예제 #3
0
        static public void Init()
        {
/*		if(MonsterTestManager.GetActiveInstance() == null)
 *              {
 *                      ChapterManager.GetInstance().GetGameStart();
 *              }*/

            WindowInstance = (MonsterTestWindow)EditorWindow.GetWindow <MonsterTestWindow>("Monster Test", typeof(SceneView));

            WindowInstance.Initialize();

            ReloadTestFromFile();
        }
예제 #4
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);
        }
예제 #5
0
 public MonsterTestInputOutputBox(MonsterTestWindow Owner, MonsterTestBase EntityToWatch, string InBoxTitle, bool InbIsInputBox) : base(Owner, EntityToWatch, InBoxTitle, InbIsInputBox)
 {
 }