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