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