private void OnTriggerEnter(Collider other) { if (other.tag == "WeaponTrigger") { if (this.name == "Hand1") { WeaponSwitch.SetHand1InCollider(true); } else if (this.name == "Hand2") { WeaponSwitch.SetHand2InCollider(true); } } }