How to Asign Event Trigger to Instantiate GameObject.

Hi all people.
I know how to set on a button, and event trigger, and set the script of the player and call the function of Jump.

But if i want to instantiate a player after selection screen, how can i search for player from and set the function for the button?

Thank you very much and apologise about my english.

Sounds like you want to use AddListener to subscribe to the event.

E.G

button.onClick.AddListener(SomeMethodName);