Synced
GameObject.GetComponents
Section titled “GameObject.GetComponents”
- Gets all attached components assignable to the requested type in attachment order.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Scene
Scope: Runtime
Declaration
Section titled “Declaration”public System.Collections.Generic.IReadOnlyList<TComponent> InnoEngine.Scene.GameObject.GetComponents<TComponent>() where TComponent : InnoEngine.Scene.GameComponentType parameters
Section titled “Type parameters”Type parameter TComponent: Requested component type.
Returns
Section titled “Returns”A stable component snapshot.