UnityEngine.SceneManagement.SceneManager.INTERNAL_CALL_CreateScene C# (CSharp) Method

INTERNAL_CALL_CreateScene() private method

private INTERNAL_CALL_CreateScene ( string sceneName, Scene &value ) : void
sceneName string
value Scene
return void
        private static extern void INTERNAL_CALL_CreateScene(string sceneName, out Scene value);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

        /// <summary>
        ///   <para>Create an empty new scene with the given name additively.</para>
        /// </summary>
        /// <param name="sceneName">The name of the new scene. It cannot be empty or null, or same as the name of the existing scenes.</param>
        public static Scene CreateScene(string sceneName)
        {
            Scene scene;

            SceneManager.INTERNAL_CALL_CreateScene(sceneName, out scene);
            return(scene);
        }
All Usage Examples Of UnityEngine.SceneManagement.SceneManager::INTERNAL_CALL_CreateScene