最終更新:2019-12-02 (月) 21:26:14 (1579d)
Transform.Find
Top / Transform.Find
Finds a child by n and returns it.
public Transform Find (string name);
https://docs.unity3d.com/jp/current/ScriptReference/Transform.Find.html
- 子オブジェクトから指定したUnityEngine.Transformを取得する関数
戻り値
- The returned child transform or null if no child is found
メモ
- GameObject.Findは重い処理なので子オブジェクトを取得するときはこちらを使うと良い