Exemple #1
0
 protected override void ObjectDestroyEvent()
 {
     canMove = false;
     bulletParticle.Stop();
     soundCtrl.Hit();
     bulletExplosionParticle.transform.parent = null;
     bulletExplosionParticle.gameObject.transform.position = transform.position + new Vector3(0, 0.65f, 0);
     bulletExplosionParticle.Play();
     StartCoroutine(CBulletExplosion());
     base.ObjectDestroyEvent();
 }
Exemple #2
0
    protected override void ObjectDestroyEvent()
    {
        soundCtrl.Hit();
        bulletParticle.Stop();

        if (spawnSticky)
        {
            stickyObject.Spawn();
        }

        base.ObjectDestroyEvent();
    }
Exemple #3
0
 protected override void ObjectDestroyEvent()
 {
     soundCtrl.Hit();
     bulletParticle.Stop();
     base.ObjectDestroyEvent();
 }