- Home /
disable touch when game is paused(Time.timeScale = 0)
i want to disable touch when the game is paused and return it when game continue. can we make it happened? Or is there alternative way to do it?
because when the game is paused i can still get points by touch the enemy which already spawn to the scene.
Comment
Answer by Graham-Dunnett · Jul 19, 2015 at 06:55 PM
if (game is not paused) {
add points when needed
}
i wondering why i'm not think that way. @Graham Dunnett ♦♦ thank you sir, you're very helpful. :D
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
OnTouch Problems :( (C#) 0 Answers
Raycasting/Touches with timescale 0, C#. 1 Answer
Disable the EventTrigger or Box Collider via C# Script 2 Answers