예제 #1
0
 // 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);
 }
예제 #2
0
 // Update is called once per frame
 void Update()
 {
     gauge.Title($"Health | {(int)target.Health()} / {(int)target.MaxHealth()}");
     gauge.Rate(target.Health() / target.MaxHealth());
 }