Example #1
0
 /// <summary>
 /// Add listener for event for updating the count for the grenade tool in the UI
 /// </summary>
 /// <param name="listener"></param>
 public void AddUpdateStasisGrenadeCountListener(UnityAction <Constants.Tools, int> listener)
 {
     updateCountEvent.AddListener(listener);
 }
Example #2
0
 /// <summary>
 /// Adding listener for updating count on UI event
 /// </summary>
 /// <param name="listener"></param>
 public void AddUpdateCountTripWireListener(UnityAction <Constants.Tools, int> listener)
 {
     updateCountEvent.AddListener(listener);
 }
Example #3
0
 /// <summary>
 /// Add a listener to the update count event
 /// </summary>
 /// <param name="listener"></param>
 public void AddUpdateCountRadarPingDeviceListener(UnityAction <Constants.Tools, int> listener)
 {
     updateCountEvent.AddListener(listener);
 }