Exemple #1
0
 void FindBodyTarget()
 {
     foreach (Transform findTransform in botController.GetComponentsInChildren <Transform>())
     {
         if (findTransform.name == "BodyController")
         {
             rotateTransform = findTransform;
             return;
         }
     }
 }