我看了api的文档
scheduleUpdate
Schedules the “update” method.
It will use the order number 0. This method will be called every frame. Scheduled methods with a lower order value will be called before the ones that have a higher order value. Only one “update” method could be scheduled per node.
update
Update method will be called automatically every frame if “scheduleUpdate” is called, and the node is “live”.
- 是说如果在调用“scheduleUpdate”之前,“update”不会被调用吗?
- “scheduleUpdate”的api说明中,“This method will be called every frame.”是说“scheduleUpdate”这个方法本身也会在每帧被调用吗?
- “Only one “update” method could be scheduled per node.”,这句话什么意思不太懂,什么叫只有一个update方法会被scheduled,Node的update方法不只有一个吗?
