- Home /
Question by
ykr337 · Apr 15, 2018 at 03:39 AM ·
2d gamejsonwaitforseconds
Move Character from Json input and Wait
HI,
I new to unity and i'm trying to make a 2D game that reads a Json file with instructions and moves the character based on those instructions.
I would like to know what is the best approach to deal with this. I need to move the object, wait for him to reach the desired position, than wait for a few seconds and then execute another movement. Is there a way to wait for the movement to end, after all the frames necessary for the movement have passsed, and just then wait for 1s and execute another movement?
Comment