Exemplo n.º 1
0
 public override void OnGoal(GoalController goal)
 {
     speed = 3;
     posRelative = new Vector3(3, 3, 3);
     animation = true;
     transform.position = new Vector3(ball.transform.position.x, 0, ball.transform.position.z) + posRelative;
 }
Exemplo n.º 2
0
 internal void Goal(GoalController g)
 {
     callListeners("OnGoal", new object[] { g }, EventType.Global);
 }
Exemplo n.º 3
0
 public virtual void OnGoal(GoalController g) { }