Beispiel #1
0
 private void ShowHP()
 {
     UpdateHpText();
     hpText.Sequence(
         hpText.Fade(1, 0.2f).SetEase(Ease.InSine)
         );
 }
 private void OnSuccessfulCut(int left, int right)
 {
     text.SetText($"{GetImpression(Mathf.Abs(left - right))}\n{left}/{right}");
     text.Sequence(
         text.Fade(1, 0.2f).SetEase(Ease.InSine),
         text.Delay(1),
         text.Fade(0, 0.3f).SetEase(Ease.InSine)
         );
 }