title: How to detect when the Player is not playing the game
body: <p>am making a game in unity but am at that point where i check if the game user is clicking anything or not.. So if the player is idle for certain amount of time, lets say 20 seconds then i will play an animation to indicate that the player is idle</p>