private SceneReference GetSceneReference(LevelScene lScene)
        {
            var levelCategory = GetElementAt(lScene.levelCategory);
            var levelScene    = levelCategory?.GetScene(lScene.levelScene);

            return(levelScene);
        }
        public string GetScenePath(LevelScene lScene)
        {
            var levelScene = GetSceneReference(lScene);

            return(levelScene == null ? string.Empty : levelScene.ScenePath);
        }
        public int GetSceneBuildIndex(LevelScene lScene)
        {
            var levelScene = GetSceneReference(lScene);

            return(levelScene == null ? -1 : levelScene.SceneBuildIndex);
        }