Answers for "how to make a pause feautre in unity"

C#
2

unity how to make code only run in editor

#if UNITY_EDITOR       //Code here for Editor only.   #endif
Posted by: Guest on December-18-2019
3

how to make a pause feautre in unity

if(Pause){
	Time.timeScale = 0;
}
else{
	Time.timeScale = 1;
}
Posted by: Guest on May-29-2020

C# Answers by Framework

Browse Popular Code Answers by Language