GetComponentIndex()
Gets the index of the component on its parent GameObject.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public int GetComponentIndex()
Returns
Type | Description |
|---|---|
| int | The component index. |