K
K
K1ald2021-07-12 20:11:26
C++ / C#
K1ald, 2021-07-12 20:11:26

How to make it so that the next scene is loaded according to a set of a certain number of points?

I figured out how to load the current scene (

SceneManager.LoadScene(SceneManager.GetActiveScene().name);
)
But I couldn’t find how to automatically get the number of the current scene from somewhere and call the loading method of the desired (next scene in order), there are some old methods 7 years ago like: https://progi.pro/zagruzka-sleduyushey-sceni- v-uni... I would like to find the best way.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2021-07-12
@freeExec

could not find

Can't find unity documentation?
There are a lot of methods for working with scenes . I'm already silent about the fact that in the scene itself there is her number .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question