public virtual void RunChecks(EditorTypeUtils.EntityTestType TestType) { bErrorInNode = false; switch (TestType) { case EditorTypeUtils.EntityTestType.FixOneWayLinks: FixOneWayLinks(); break; } }
/* [MenuItem ("Dialogue/Tests/Conversation/Check For Missing VO", false, 15)] * static public void RunMissingAudioCheck() * { * RunTest(EditorTypeUtils.EntityTestType.TestForMissingAudio); * } * * [MenuItem ("Dialogue/Tests/Conversation/Check For Missing Connections", false, 22)] * static public void RunMissingConnectionCheck() * { * RunTest(EditorTypeUtils.EntityTestType.TestForMissingConnections); * }*/ static public void RunTest(EditorTypeUtils.EntityTestType TestType) { if (WindowInstance != null) { foreach (EntityBox <MonsterTestBase> CurrentBox in WindowInstance.Boxes) { CurrentBox.RunChecks(TestType); } WindowInstance.Repaint(); } }