Hi, I made a button on Game Over UI which gives you an amount of points after watching an AD, but I want to make it only work once in a hour for example. Anyone has an idea how to do that? Thanks !
Not sure why you would want to show it just once per hour. You can try using the timer logic piece and set it to your desired time. Test it of course with a very short time period.
u can add state machine and set a state to be active once after hour hour using timer node , but then the timer will be reset every time player exit the screen
something like that where the timer will kick in event state 2 every 100 seconds - you add animation node to each state to signal that the button inactive / active ( state1/state2) but i really think that your timer will be reset every time the player exit the game that why one hour interval may be not practical you can make it every few minutes may be