static void Init() { UITestFlowRecorderWindow window = (UITestFlowRecorderWindow)GetWindow(typeof(UITestFlowRecorderWindow), false, "Recorder"); window.Show(); }
private static void CreateAssertation() { if (!isOpen) { UITestFlowRecorderWindow window = (UITestFlowRecorderWindow)GetWindow(typeof(UITestFlowRecorderWindow), false, "Recorder"); window.Show(); } var go = Selection.activeObject as GameObject; goSelectedForNewAssertation = go; }