Struct ActiveSceneScope
public struct ActiveSceneScope
Constructors
ActiveSceneScope(Component)
public ActiveSceneScope(Component component)
Parameters
component
Component
ActiveSceneScope(GameObject)
public ActiveSceneScope(GameObject gameObject)
Parameters
gameObject
GameObject
ActiveSceneScope(Scene)
public ActiveSceneScope(Scene scene)
Parameters
scene
Scene
Fields
activeScene
The scene where new GameObjects will be places, throughout the scope.
public readonly Scene activeScene
Field Value
currentScene
The scene that was active before this scope.
public readonly Scene currentScene
Field Value
Methods
Dispose()
public void Dispose()