Exemple #1
0
 //マップオブジェクト取得
 private void SetMapObstacle()
 {
     GameObject[] obstacles = GameObject.FindGameObjectsWithTag(Common.CO.TAG_BREAK_OBSTACLE);
     foreach (GameObject obstacle in obstacles)
     {
         ObstacleController obstacleCtrl = obstacle.GetComponent <ObstacleController>();
         if (obstacleCtrl.GetCamouflageRange() <= 0)
         {
             continue;
         }
         obstacleCtrls.Add(obstacleCtrl);
     }
 }