R
R
Roman2017-10-08 15:01:40
C++ / C#
Roman, 2017-10-08 15:01:40

How to implement a time event in the game?

Hello!
How to make a window with news appear when a certain time is reached? I'm trying to make it in Unity 2D, not a platformer, just a camera, a scene and poking buttons. Just to check the current one with the one you need in Upate()?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GavriKos, 2017-10-08
@ananas_roma

Just to check the current one with the one you need in Upate()?

Yes.
Well, you can in FixedUpdate for "optimization".

G
Griboks, 2017-10-08
@Griboks

For this, coroutines were invented.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question