I have a player gameobject and multiple different types of button gameobjects. I want a script on the player that will call a function on the button it hits, even if the script name is different. For example, if the player hits "e" on a red button, it would call Function1 in the red button's object, and if the player hits "e" on a green button, it will call Function2 in the green button's object. I don't know how I would make this work. I'm so close to the answer, yet so far. I've been trying to have a single script handle if a button has been pressed and make the player do "hit.collider.gameObject.GetComponent<Interactible>().Activate();", but that doesn't let me have the button do different things than other buttons. I think I have to make the interact script call another script on the button, but that runs me into the same problem. If this makes no sense, tell me and I'll try to rephrase it. Rephrase: I'm trying to make a universal "interactible" script that can be put on any object and activates another script within that object that can be set from the code or the inspector. OR alternatively, a way for the object-specific script to detect when the universal script's function is called.