Action
If you need to listen for value changes, You can listen to it as follows. You can listen from CommonStatRuntimeSO.
/// <summary>
/// The two int are Value and MaxValue.
/// </summary>
public void AddAction(string _valueName, UnityAction<int, int> _unityAction)
public void RemoveAction(string _valueName, UnityAction<int, int> _unityAction)
Last updated