Preparing search index...
The search index is not available
oops-framework
oops-framework
ecs
addSingleton
Function addSingleton
add
Singleton
(
obj
:
IComp
)
:
void
注册单例组件 - 主要用于那些不能手动创建对象的组件
Parameters
obj:
IComp
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
oops-
framework
ecs
IComp
IEntity
Enter
System
IEntity
Remove
System
IMatcher
ISystem
First
Update
ISystem
Update
Comblock
System
Comp
Entity
Root
System
System
Comblock
System
Comp
Entity
Root
System
System
active
Entity
Count
add
Singleton
all
Of
any
Of
clear
exclude
Of
get
Entity
get
Entity
By
Eid
get
Singleton
only
Of
query
register
Generated using
TypeDoc
注册单例组件 - 主要用于那些不能手动创建对象的组件