BuildIndexMatrix.cs
/// <summary>
/// Gets an array of all the current scene names
/// </summary>
Gets an array of all the current scene names
Gets an array of all the current scene names
private static void GetOpenScenes()
    {
        instance.indexes.Clear();
        var sceneNumber = SceneManager.sceneCountInBuildSettings;
        arrayOfNames = new string[sceneNumber]; ;
        for (int i = 0; i < sceneNumber; i++)
        {
            arrayOfNames[i] = Path.GetFileNameWithoutExtension(SceneUtility.GetScenePathByBuildIndex(i));
            instance.indexes.Add(new BuildIndexMapper
            {
                SceneBuildIndex = i,
                SceneName = arrayOfNames[i]
            });
        }
    }
private static void GetOpenScenes ( ) { instance . indexes . Clear ( ) ; var sceneNumber = SceneManager . sceneCountInBuildSettings ; arrayOfNames = new string [ sceneNumber ] ; ; for ( int i = 0 ; i < sceneNumber ; i ++ ) { arrayOfNames [ i ] = Path . GetFileNameWithoutExtension ( SceneUtility . GetScenePathByBuildIndex ( i ) ) ; instance . indexes . Add ( new BuildIndexMapper { SceneBuildIndex = i , SceneName = arrayOfNames [ i ] } ) ; } }
Gets an array of all the current scene names
Gets an array of all the current scene names