예제 #1
0
 public void LandAll()
 {
     for (int i = 0; i < _thisT.childCount; i++)
     {
         if (_thisT.GetChild(i).GetComponent <LandingSpot>() != null)
         {
             LandingSpot spot = _thisT.GetChild(i).GetComponent <LandingSpot>();
             StartCoroutine(spot.GetFlockChild(0.0f, 2.0f));
         }
     }
 }
 public void LandAll()
 {
     for (int i = 0; i < this._thisT.childCount; i++)
     {
         if (this._thisT.GetChild(i).GetComponent <LandingSpot>() != null)
         {
             LandingSpot component = this._thisT.GetChild(i).GetComponent <LandingSpot>();
             base.StartCoroutine(component.GetFlockChild(0f, 2f));
         }
     }
 }