void OnTriggerEnter(Collider other) { if (mIsOn) { if (other.tag == "Projectile") { LaserBoltController laserBolt = other.gameObject.GetComponentInParent <LaserBoltController>(); laserBolt.Reflect(); mAudioSource.PlayOneShot(BladeReflectSound); } Destroyable destroyable = other.gameObject.GetComponent <Destroyable>(); if (destroyable) { destroyable.Destroyed(); } } }