/// <summary> /// Adds the given script as a hits added invoker /// </summary> /// <param name="invoker">invoker</param> public static void AddHitsAddedInvoker(Paddle invoker) { hitsAddedInvokers.Add(invoker); foreach (UnityAction <ScreenSide, int> listener in hitsAddedListeners) { invoker.AddHitsAddedListener(listener); } }