Exemplo n.º 1
0
 protected void CloseHP()
 {
     if (UI_HpObj.alpha != 1)
     {
         UI_HpObj.alpha = 1;
         modifyIndex    = MatchTimeManager.SetCountDown(closeHpBar, HP_Time);
     }
     else
     {
         MatchTimeManager.ModifyTime(modifyIndex, HP_Time);
     }
 }
Exemplo n.º 2
0
 protected void CloseHP()
 {
     if (canvasGroup.alpha != 1)
     {
         canvasGroup.alpha = 1;
         modifyIndex       = MatchTimeManager.SetCountDown(closeHpBar, 6);
     }
     else
     {
         MatchTimeManager.ModifyTime(modifyIndex, 6);
     }
 }