// Update is called once per frame void Update() { if (Input.GetButtonDown("Interact")) { if (interaction_target) { interaction_target.Interaction(); } } }