示例#1
0
    protected override void OnHealthChanged(HealthChangeEvent healthChange)
    {
        base.OnHealthChanged(healthChange);

        if (!EqualityHelper.IsEqual(Equality, healthChange.NewValue, Threshold))
        {
            return;
        }

        Relay(healthChange);
    }