GetComponentIndex()
Gets the index of the component on its parent GameObject.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public int GetComponentIndex()
Returns
Type | Description |
|---|---|
| int | The component index. |