public void LastBallAddListener(UnityAction <int> listener) { _lastBall.AddListener(listener); }
public void AddGameOverMessageListener(UnityAction handler) { lastBallLostEvent.AddListener(handler); }
/// <summary> /// Adds the given listener to the last ball lost event listener /// </summary> /// <param name="listener"></param> public void AddLastBallLostListener(UnityAction listener) { lastBallLostEvent.AddListener(listener); }