void OnMaoDestroy(BaseMao mao) { maoList.Remove(mao); if (maoList.Count <= 0) { GameUI.instance.ShowSuccessButton(); } }
void OnMaoDragEvent(BaseMao mao, float dragValue) { if (dragValue > 0f) { float angryValue = dragValue / mao.PressLength * mao.PressAngry; GameUI.instance.angryBar.AddValue(angryValue); AngryAttackCheck(); } }
void OnMaoBreak(BaseMao mao) { GameUI.instance.angryBar.AddValue(mao.BreakAngry); AngryAttackCheck(); }
void OnMaoSlippery(BaseMao mao) { GameUI.instance.angryBar.AddValue(mao.SlipperyAngry); AngryAttackCheck(); }