so, how to do delay/wait in cocos?
In this code: my_layer.do(Delay(10) + CallFunc(my_func)), why it executes my_func() at once instead of execute if after delaying 10s?
My purpose is, wait for a few seconds, and then kill the current layer。
-