How to make an event every second (Unity)?
How to make an event every second, please help!Unity Game Engine Jacob Hutchinson, Jan 1, 2019
Use coroutines and
public class FooComponent : MonoBehaviour
private void Awake()
yield return new WaitForSecondsRealtime(1f);
Create a timer?Evangeline Melton
Updatecheck if a second has passed since the last second.Anonymous
To place the code, please use CodePen or similar tool. Thanks you!