编辑器下自建的Component如何update?

在编辑器模式下需要 update如何实现

http://www.cocos.com/docs/creator/scripting/reference/class.html

试试看

编辑器下即使开启了executeInEditMode,schedule也不生效的。要用setTimeout或者setInterval…

刚刚试了一下executeInEditMode为true的情况下,组件的update是能够在编辑器里运行的:grin:

:6:你试一下schedule