リストの要素の追加は、Addを使う。 public List<GameObject> Obj; void Start () { for (int i = 1; i <=NumObj; i++){ Obj.Add(GameObject.Find("Obj"+i)); } } UnityでListを使いたい - Qiitaqiita.com</gameobject>
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.