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