Im current working on a rpg game and i want the player to press buttens etc. Now i have when the player press a button it run a function on the button.
But i want so the function on the button runs a script that i can change on diffrent buttons etc, something like this.
public string scriptName;
void OnUse(){
run scriptName;
}
Thanks for this :)
– MC_HALOthx that really helpt
– anon39452474