eva.js.gameobject.getcomponent_1
Home > @eva/eva.js > GameObject > getComponent
GameObject.getComponent() method
Signature:getComponent<T extends Component>(c: string): T;
Parameters
Parameter | Type | Description |
---|---|---|
c | string |
T
Home > @eva/eva.js > GameObject > getComponent
getComponent<T extends Component>(c: string): T;
Parameter | Type | Description |
---|---|---|
c | string |
T