Ejemplo n.º 1
0
 void BallHasBeenThrown(BallHasBeenThrownEvent e)
 {
     m_BallHasBeenThrown = true;
     transform.SetParent(GameObject.FindObjectOfType <Ball>().transform);
     transform.localPosition = Vector3.zero;
     transform.rotation      = Quaternion.LookRotation(Vector3.right);
 }
Ejemplo n.º 2
0
 void BallHasBeenThrown(BallHasBeenThrownEvent e)
 {
     DecrementNBalls(1);
 }