Esempio n. 1
0
    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
    }
Esempio n. 2
0
 private void Start()
 {
     DragAndDropUnity.Enable(DragAndDropFileAccept);
     SetScreenResolution(1);
     LoadPlayerPrefs();
     Utility.debugText = debugText;
     project           = null;
     PanelSelectionInit();
     UpdateAboutCanvas();
     Application.runInBackground = true;
     fileOpener.CheckRegistry();
     fileOpener.CheckCommandLine();
 }