protected override void OnCollect() { switch (CurrentBulletType) { case BulletType.Deadly: PlayerController.Instance.Kill(); break; case BulletType.Buggy: PlayerController.Instance.PushBugs(GlitchEffect.GetRandomGlitchEffect()); break; } }
protected override void OnColidWithPlayer(PlayerController player) { PlayerController.Instance.PushBugs(GlitchEffect.GetRandomGlitchEffect()); Explode(); }
protected override void OnCollect() { PlayerController.Instance.PushBugs(GlitchEffect.GetRandomGlitchEffect()); }