Skip to main content

eva.js.component

Home > @eva/eva.js > Component

Component class

Signature:
declare class Component<T extends ComponentParams = {}> extends EventEmitter 
Extends: EventEmitter

Constructors

ConstructorModifiersDescription
(constructor)(params)Constructs a new instance of the Component class

Properties

PropertyModifiersTypeDescription
__componentDefaultParamsT
componentNamestaticstring
gameObjectGameObject
namestring
startedboolean

Methods

MethodModifiersDescription
awake()?(Optional)
init(params)?(Optional)
lateUpdate(frame)?(Optional)
onDestroy()?(Optional)
onPause()?(Optional)
onResume()?(Optional)
start()?(Optional)
update(frame)?(Optional)
你有任何问题,或者需要我们帮你开发,请扫码联系
X