示例#1
0
        /// <summary>
        /// Gets the id for the current level
        /// </summary>
        public LevelItem GetLevelForCurrentScene()
        {
            string sceneName = SceneManager.GetActiveScene().name;

            return(levelList.GetLevelByScene(sceneName));
        }