Skip to main content

eva.js.gameobject.getcomponent

Home > @eva/eva.js > GameObject > getComponent

GameObject.getComponent() method

Signature:
getComponent<T extends Component<ComponentParams>>(c: ComponentConstructor<T>): T;

Parameters

ParameterTypeDescription
cComponentConstructor<T>
Returns:

T

If you have any questions or need our help with development, please scan the code to contact us.
X