Answers for "unity editor pause"

C#
0

unity3d debug pause

using UnityEngine;public class ExampleScript : MonoBehaviour
{
    void Start()
    {
        Debug.Break();
    }
}
Posted by: Guest on May-11-2020
0

pause unity game

void PauseGame ()
    {
        Time.timeScale = 0;
    }

void ResumeGame ()
    {
        Time.timeScale = 1;
    }Copy
Posted by: Guest on April-25-2021

C# Answers by Framework

Browse Popular Code Answers by Language