Synced
GameObject.GetComponentIndex
Section titled “GameObject.GetComponentIndex”
- Gets the attachment index of a component on this object.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Scene
Scope: Runtime
Declaration
Section titled “Declaration”public int InnoEngine.Scene.GameObject.GetComponentIndex(InnoEngine.Scene.GameComponent component)Parameters
Section titled “Parameters”Parameter component: Attached component to locate.
Returns
Section titled “Returns”The zero-based attachment index.