Version: 2020.1
言語: 日本語
public static GameObject PickGameObject (Vector2 position, bool selectPrefabRoot);
public static GameObject PickGameObject (Vector2 position, out int materialIndex);

パラメーター

selectPrefabRoot Select Prefab.
materialIndex 指定されたポジションに最も近い Renderer コンポーネントのマテリアル配列にインデックスを返します。

説明

指定したポジションに最も近いゲームオブジェクトを選択します。