Answer the question
In order to leave comments, you need to log in
Why does a click in one scene also work in the next?
Hello colleagues. I understand with Unity3d, makes a 2D game in which you need to click on a button and go to another scene.
In the first scene I do
button.onClick.AddListener(SomeHandler);
void SomeHandler() {
SceneManager.LoadScene ("Result"); return;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question