public override void HandleDoubleClick() { if (IndexToWatch != -1) { MonsterTest CurrentValue = Owner.GetManager().EditorGetValueAtIndex(IndexToWatch); MonsterTestWindow.CurrentlyOpenTest = CurrentValue; MonsterTestWindow.Init(); } }
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); }