public void Exit() { ExitChildControls(); if (mContext.Build != null) { mContext.AbortAllReqests("Build controller exiting"); mContext.Build.CleanBuild(); } mLogger.ResetLog(); mIsActive = false; }
public static bool OnGUIResetButton(ControlContext context, DebugViewContext debug, GUIStyle style) { if (GUILayout.Button("Exit Build", style)) { context.AbortAllReqests("User requested build reset."); context.Build.ResetBuild(); // Abort requests first! debug.NeedsRepaint = true; return(true); } GUILayout.Space(MarginSize); return(false); }
public static bool OnGUIResetButton(ControlContext context, DebugViewContext debug, GUIStyle style) { if (GUILayout.Button("Exit Build", style)) { context.AbortAllReqests("User requested build reset."); context.Build.ResetBuild(); // Abort requests first! debug.NeedsRepaint = true; return true; } GUILayout.Space(MarginSize); return false; }