Featured
-
How to create scrollbars in Unity3D
Scrollbar in Unity3D Scroll bars let a user cho
by inder.singh
Tags
Events in Unity 3D
Loading Levels, Play,Pause and Exit in Unity 3D scene :
Example :
btn is a string.
void OnClick ()
{
if(btn=="Play")
{
Application.LoadLevel("MyScene");
}
}
Play a Game :
Time.timeScale=1;
Pause a Game :
Time.timeScale=...
Pausing the Game through Coding in Unity3D
You can pause your game in Unity3D by changing the rate at which the time is passing. It is very helpful in making pause menu in the game and in various situations that require pausing of all the events and physics to stop at the moment.
To pa...