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;
 }
Example #2
0
 internal void Goal(GoalController g)
 {
     callListeners("OnGoal", new object[] { g }, EventType.Global);
 }
Example #3
0
 public virtual void OnGoal(GoalController g) { }