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)
If you have any questions or need our help with development, please scan the code to contact us.
X