文档

Unity Engine

Unity Engine

GetComponentIndex()

Gets the index of the component on its parent GameObject.
阅读时间1 分钟最后更新于 1 天前

Definition

public int GetComponentIndex()

Returns

Type

Description

intThe component index.