mojo3d.Entity.GetComponent - nitrologic/monkey2 GitHub Wiki

mojo3d::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.