コード例 #1
0
 void ShowPlanets()
 {
     for (int i = 0; i < planetList.Count; i++)
     {
         if (GUI.Button(new Rect(offX, y1 + offSetY * (i + 1), width, y2), planetList [i].gameObject.name))
         {
             camCon.LockObject(planetList [i].gameObject.transform);
         }
     }
 }