public void QuitScreenYes() //The *I'm sure! Quit now!* thing { FindObjectOfType <ProjectController>().SavePlayerPrefs(); DragAndDropUnity.Disable(); #if UNITY_EDITOR #elif UNITY_STANDALONE_WIN Process.GetCurrentProcess().Kill(); #endif }
private void Start() { DragAndDropUnity.Enable(DragAndDropFileAccept); SetScreenResolution(1); LoadPlayerPrefs(); Utility.debugText = debugText; project = null; PanelSelectionInit(); UpdateAboutCanvas(); Application.runInBackground = true; fileOpener.CheckRegistry(); fileOpener.CheckCommandLine(); }