Example #1
0
 private void _swallow()
 {
     if (Count > 0)
     {
         if (NicotineGum.Swallow(_strength, _rate))
         {
             --Count;
         }
     }
     if (Count <= 0)
     {
         GameObject.Destroy(gameObject);
     }
 }
Example #2
0
 public GumCommand(NicotineGum mod)
 {
     _mod = mod;
 }