Beispiel #1
0
 //Golfing States
 void GolfingInsideOrOutsideState()
 {
     if (playerManagerScript.IsGolfBallHit() == true)
     {
         playerManagerScript.BallFlyingPlayerState();
     }
     else if (playerManagerScript.returnInRing() == false)
     {
         playerManagerScript.GolfingOutsideRingPlayerState();
     }
     else if (playerManagerScript.returnInRing() == true)
     {
         playerManagerScript.GolfingInsideRingPlayerState();
     }
 }