- Home /
how add multiple function to my button?
i want same button preform different function with load data.For example change scene,close window,rotate,i want my button have been multiple function.Same button perform different function for load data.
Answer by tormentoarmagedoom · Apr 10, 2018 at 08:27 AM
Good day.
With Event Trigger Component, any button can execute a method in some of your scripts, so in that method you can have all you want.
PD: This question should be deletad cause you are asking something that you can easy find by looking it a Unity help or even in youtube..
Accept the answer and close the question please
Bye!
Follow this Question
Related Questions
Why won't my function show up in the onClick area of a button? 2 Answers
UI Button OnClick Function - How to get name of button that was clicked? 2 Answers
How to begin startcoroutine (IEnumerator) with UI button. 1 Answer
Method added on a button click with a delegate is being called twice. 0 Answers
Unity 5.0.2f1 UI Button OnClick Function 6 Answers