Interface
Comp
:group
Components
require
?: Tag[]What other comps this comp depends on.
add
?: () => voidEvent that runs when host game obj is added to scene.
fixedUpdate
?: () => voidEvent that runs at a fixed frame rate.
update
?: () => voidEvent that runs every frame.
draw
?: () => voidEvent that runs every frame after update.
destroy
?: () => voidEvent that runs when obj is removed from scene.
inspect
?: () => string | nullDebug info for inspect mode.
drawInspect
?: () => voidDraw debug info in inspect mode
since
v3000.0