private void OnTriggerEnter(Collider other) { if (other.CompareTag("Player")) { mui.BringInNewButtonPrompt("E", "Press Button"); pc.FenceSwitchCallback(true, this); } }