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