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