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

INTERNAL_CALL_GetSceneAt() private method

private INTERNAL_CALL_GetSceneAt ( int index, Scene &value ) : void
index int
value Scene
return void
        private static extern void INTERNAL_CALL_GetSceneAt(int index, out Scene value);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

Example #1
0
        /// <summary>
        ///   <para>Get the scene at index in the SceneManager's list of added scenes.</para>
        /// </summary>
        /// <param name="index">Index of the scene to get. Index must be greater than or equal to 0 and less than SceneManager.sceneCount.</param>
        public static Scene GetSceneAt(int index)
        {
            Scene scene;

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