/// <summary> /// Adds the given listener for the points added event /// </summary> /// <param name="listener">listener</param> public void AddBallLostListener(UnityAction <ScreenSide, int> listener) { ballLostEvent.AddListener(listener); }
public void AddBallLostEventListener(UnityAction listener) { ballLostEvent.AddListener(listener); }
/// <summary> /// Hooks up a listener to the invoker. /// </summary> /// <param name="listener">Listener to add.</param> public static void AddPointsAddedListener(UnityAction <ScreenSide, int> listener) { addPoints.AddListener(listener); }