예제 #1
0
 private void HighJumpPowerupCollected()
 {
     _highJumpEnabled = true;
     _highJumpEnds    = Time.time + _upgradeCenter.GetValue(UpgradeCenter.HighJumpDuration);
     if (_currentParticleEffectHJ == null)
     {
         _currentParticleEffectHJ = Instantiate(HighJumpParticleEffectPrefab, transform);
     }
     GUI.AddTime(_upgradeCenter.GetValue(UpgradeCenter.HighJumpDuration), 2);
 }