Beispiel #1
0
 /**
  * Traverses mantle to face target.
  */
 private void AimAtTarget()
 {
     transform.LookAt(
         VectorUtils.SetY(
             parentController.GetTargetedPosition(),
             transform.position.y)
         );
 }
 /**
  * Aims the barrel at the designated target location.
  */
 private void AimAtTarget()
 {
     transform.LookAt(parentController.GetTargetedPosition());
 }