C# Class UnityEngine.SceneManagement.Scene

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Свойство Type Description
GetBuildIndexInternal int
GetIsDirtyInternal bool
GetIsLoadedInternal bool
GetLoadingStateInternal LoadingState
GetNameInternal string
GetPathInternal string
GetRootCountInternal int
GetRootGameObjectsInternal void
IsValidInternal bool
SetNameInternal void

Méthodes publiques

Méthode Description
Equals ( object other ) : bool
GetHashCode ( ) : int
GetRootGameObjects ( ) : UnityEngine.GameObject[]

Returns all the root game objects in the scene.

GetRootGameObjects ( List rootGameObjects ) : void
IsValid ( ) : bool

Whether this is a valid scene. A scene may be invalid if, for example, you tried to open a scene that does not exist. In this case, the scene returned from EditorSceneManager.OpenScene would return False for IsValid.

operator ( ) : bool

Private Methods

Méthode Description
GetBuildIndexInternal ( int sceneHandle ) : int
GetIsDirtyInternal ( int sceneHandle ) : bool
GetIsLoadedInternal ( int sceneHandle ) : bool
GetLoadingStateInternal ( int sceneHandle ) : LoadingState
GetNameInternal ( int sceneHandle ) : string
GetPathInternal ( int sceneHandle ) : string
GetRootCountInternal ( int sceneHandle ) : int
GetRootGameObjectsInternal ( int sceneHandle, object resultRootList ) : void
IsValidInternal ( int sceneHandle ) : bool
SetNameInternal ( int sceneHandle, string name ) : void

Method Details

Equals() public méthode

public Equals ( object other ) : bool
other object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetRootGameObjects() public méthode

Returns all the root game objects in the scene.

public GetRootGameObjects ( ) : UnityEngine.GameObject[]
Résultat UnityEngine.GameObject[]

GetRootGameObjects() public méthode

public GetRootGameObjects ( List rootGameObjects ) : void
rootGameObjects List
Résultat void

IsValid() public méthode

Whether this is a valid scene. A scene may be invalid if, for example, you tried to open a scene that does not exist. In this case, the scene returned from EditorSceneManager.OpenScene would return False for IsValid.

public IsValid ( ) : bool
Résultat bool

operator() public static méthode

public static operator ( ) : bool
Résultat bool