![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | burstina |
hello,
I tried yield(get_tree(),"idle_frame")
in _ready() function and it seems to work fine: when yield execute, it resumes execution just the line after and process goes smoothy.
but
I tried yield(get_tree(),"idle_frame")
in a throwaway function called in _process(delta)
and it doesn’t work like that: each line of code between “yield” and end of function get executed twice.
Did it work as intended or is it a bug?
I’m using Godot 3.1 beta9
thanks
Graziano
Cannot reproduce this in beta 9 on my machine. Can you share the code? Or try to print something
Dlean Jeans | 2019-03-01 04:26