Пример #1
0
 void triggeredMop2Vomit()
 {
     pukeNumber--;
     counter.AddOneVibe();
     Debug.Log("onMop2Vomit");
     if (pukeNumber == 0)
     {
         statBarManager.PeriodicallyChangeStatBar(statBarCleanness, +0.01f);
     }
     else
     {
         statBarManager.PeriodicallyChangeStatBar(statBarCleanness, -0.01f * pukeNumber);
     }
 }