Skip to content

Mojo3d entity getcomponent

mojo3d:mojo3d.Entity.GetComponent

Method GetComponent:T( )#

Gets a component of a given type attached to the entity.

If there is more than one component of the given type attached, the first is returned.