示例#1
0
    protected override void OnCollect()
    {
        switch (CurrentBulletType)
        {
        case BulletType.Deadly:
            PlayerController.Instance.Kill();
            break;

        case BulletType.Buggy:
            PlayerController.Instance.PushBugs(GlitchEffect.GetRandomGlitchEffect());
            break;
        }
    }
示例#2
0
 protected override void OnColidWithPlayer(PlayerController player)
 {
     PlayerController.Instance.PushBugs(GlitchEffect.GetRandomGlitchEffect());
     Explode();
 }
示例#3
0
 protected override void OnCollect()
 {
     PlayerController.Instance.PushBugs(GlitchEffect.GetRandomGlitchEffect());
 }