Esempio n. 1
0
 /// <summary>
 /// Removes a function of type CurrentValueEvent to the OnValueChange delagate.
 /// </summary>
 public void RemoveCurrentValueListener(StatValueCurrentChangeEvent func)
 {
     _onValueCurrentChange -= func;
 }
Esempio n. 2
0
 /// <summary>
 /// Adds a function of type CurrentValueEvent to the OnValueChange delagate.
 /// </summary>
 public void AddCurrentValueListener(StatValueCurrentChangeEvent func)
 {
     _onValueCurrentChange += func;
 }