Synced
GameObject.HasComponent
Section titled “GameObject.HasComponent”
- Gets whether a matching component is attached.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Scene
Declaration
Section titled “Declaration”public bool Inno.Scene.GameObject.HasComponent<TComponent>() where TComponent : Inno.Scene.GameComponentType parameters
Section titled “Type parameters”Type parameter TComponent: Requested component type.
Returns
Section titled “Returns”true when a matching component exists.