protected void OnEnable() { if (photonView.isMine) { MatchTimeManager.SetCountDown(DisappearThis, flyTime); } }
public void player_ReBorn(float _countDown) { if (dieCD_Obj.alpha == 0) { dieCD_Obj.alpha = 1; } MatchTimeManager.SetCountDown(ReBorn, _countDown, countDownText, null); }
//被攻擊時反應時間 protected void beAttackStop() { if (correctPos != null) { points.RemoveThisPoint(correctPos); } correctPos = myCachedTransform; MatchTimeManager.SetCountDown(waitToAtk, enemyData.beAtk_delay); }
protected void CloseHP() { if (UI_HpObj.alpha != 1) { UI_HpObj.alpha = 1; modifyIndex = MatchTimeManager.SetCountDown(closeHpBar, HP_Time); } else { MatchTimeManager.ModifyTime(modifyIndex, HP_Time); } }
protected void CloseHP() { if (canvasGroup.alpha != 1) { canvasGroup.alpha = 1; modifyIndex = MatchTimeManager.SetCountDown(closeHpBar, 6); } else { MatchTimeManager.ModifyTime(modifyIndex, 6); } }