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