OnValueChanged

This event is being called as soon as the appropriate value has changed.

    public ValueChanged OnValueChanged;

Example

    public void OnEnable()
    {
        FloatType health = database.GetData<FloatType>("Table", "Entry", "Value");

        health.OnValueChanged += ValueChanged;
    }

    public void ValueChanged(DataboxType _value)
    {
        Debug.Log("Value has changed")
    }