Esempio n. 1
0
 /// <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);
 }
Esempio n. 2
0
 public void AddBallLostEventListener(UnityAction listener)
 {
     ballLostEvent.AddListener(listener);
 }
Esempio n. 3
0
 /// <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);
 }