Back to Browse

How to make BLINKING OBJECTS in Unity - Make something happen every second

3.5K views
Jan 12, 2023
4:50

In this video we see how to make a GameObject from the scene turn on and off every certain time, that is to say an algorithm for a blinking object. To achieve this we are going to define a function that is responsible for changing the state of the object and then use the InvokeRepeating function to execute that function repeatedly over time. This solution actually can be used to make something happen every second in Unity, you just need to adapt the code so that it makes what you need. ____________________________________________________________ Watch the following repository where I'll be sharing solutions and examples for Unity 👇 https://github.com/GameDevTraum/GDT-Solutions-for-Unity https://gamedevtraum.itch.io/ https://www.linkedin.com/in/gamedevtraum/ ____________________________________________________________

Download

0 formats

No download links available.

How to make BLINKING OBJECTS in Unity - Make something happen every second | NatokHD