Unity get current scene number code example
Example 1: how to get scene index unity
SceneManager.GetActiveScene().buildIndex;
Example 2: unity how to get the current scene
SceneManager.GetActiveScene().buildIndex;
SceneManager.GetActiveScene().buildIndex;
SceneManager.GetActiveScene().buildIndex;