Horje
unity Exit application Code Example
unity Exit application
     public void QuitGame()
     {
         // save any game data here
         #if UNITY_EDITOR
             // Application.Quit() does not work in the editor so
             // UnityEditor.EditorApplication.isPlaying need to be set to false to end the game
             UnityEditor.EditorApplication.isPlaying = false;
         #else
             Application.Quit();
         #endif
     }




Csharp

Related
como crear un numero aleatorio en c# Code Example como crear un numero aleatorio en c# Code Example
change sprite of gameobject unity Code Example change sprite of gameobject unity Code Example
unity foreach child Code Example unity foreach child Code Example
how to make a resizable window in monogame Code Example how to make a resizable window in monogame Code Example
unity check if number is multiple of x Code Example unity check if number is multiple of x Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9