Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
AnySDK
Version: 1.1
Version: 1.0
Version: 1.2
Search
Preparing search index...
The search index is not available
Creator3dAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
scenegraph
ComponentScheduler
Class ComponentScheduler
The Manager for Component's life-cycle methods.
Hierarchy
ComponentScheduler
Index
Constructors
constructor
Properties
_deferred
Comps
_updating
late
Update
Invoker
start
Invoker
update
Invoker
Methods
deferred
Schedule
on
Disabled
on
Enabled
schedule
Immediate
start
For
New
Comps
disable
Comp
enable
Comp
late
Update
Phase
start
Phase
unschedule
All
update
Phase
Constructors
constructor
new
Component
Scheduler
(
)
:
ComponentScheduler
Returns
ComponentScheduler
Properties
Private
_deferred
Comps
_deferred
Comps
:
any
[]
= []
Private
_updating
_updating
:
boolean
late
Update
Invoker
late
Update
Invoker
:
ReusableInvoker
start
Invoker
start
Invoker
:
OneOffInvoker
update
Invoker
update
Invoker
:
ReusableInvoker
Methods
Private
deferred
Schedule
_deferred
Schedule
(
)
:
void
Returns
void
on
Disabled
on
Disabled
(
comp
:
any
)
:
void
Parameters
comp:
any
Returns
void
on
Enabled
on
Enabled
(
comp
:
any
)
:
void
Parameters
comp:
any
Returns
void
Private
schedule
Immediate
schedule
Immediate
(
comp
:
any
)
:
void
Parameters
comp:
any
Returns
void
Private
start
For
New
Comps
_start
For
New
Comps
(
)
:
void
Returns
void
disable
Comp
disable
Comp
(
comp
:
any
)
:
void
Parameters
comp:
any
Returns
void
enable
Comp
enable
Comp
(
comp
:
any
, invoker
?:
any
)
:
void
Parameters
comp:
any
Optional
invoker:
any
Returns
void
late
Update
Phase
late
Update
Phase
(
dt
:
any
)
:
void
Parameters
dt:
any
Returns
void
start
Phase
start
Phase
(
)
:
void
Returns
void
unschedule
All
unschedule
All
(
)
:
void
Returns
void
update
Phase
update
Phase
(
dt
:
any
)
:
void
Parameters
dt:
any
Returns
void
Globals
scene-
graph
Component
Scheduler
constructor
_deferred
Comps
_updating
late
Update
Invoker
start
Invoker
update
Invoker
deferred
Schedule
on
Disabled
on
Enabled
schedule
Immediate
start
For
New
Comps
disable
Comp
enable
Comp
late
Update
Phase
start
Phase
unschedule
All
update
Phase
Generated using
TypeDoc
The Manager for Component's life-cycle methods.