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(); }
protected override void ObjectDestroyEvent() { soundCtrl.Hit(); bulletParticle.Stop(); if (spawnSticky) { stickyObject.Spawn(); } base.ObjectDestroyEvent(); }
protected override void ObjectDestroyEvent() { soundCtrl.Hit(); bulletParticle.Stop(); base.ObjectDestroyEvent(); }