S
S
SteaL_032021-06-12 20:14:49
2D
SteaL_03, 2021-06-12 20:14:49

How can I make the level start on button click?

It is necessary to make the level start at the touch of a button on the keyboard.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
ReyGrau, 2021-06-13
@ReyGrau

if ( Input.GetKeyDown (what button do you want))
{
SceneManager.LoadScene (scenename);
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question