// Update is called once per frame void Update() { gauge.Title( $"Cooltime | " + $"{(int)(target.Cooltime().Now / target.Cooltime().Timeout * 100)}" + $" % " ); gauge.Rate(1 - target.Cooltime().Now / target.Cooltime().Timeout); }
// Update is called once per frame void Update() { gauge.Title($"Health | {(int)target.Health()} / {(int)target.MaxHealth()}"); gauge.Rate(target.Health() / target.MaxHealth()); }