예제 #1
0
 public void Setup(bool left)
 {
     propeller   = GetComponentInChildren <Propeller>();
     motorSounds = GetComponent <MotorSounds>();
     if (left)
     {
         Direction = -1f;
     }
     else
     {
         Direction = 1f;
     }
     propeller.Setup(left);
 }