Table of Contents

Struct ActiveSceneScope

Namespace
Coherence.Toolkit
Assembly
Coherence.Toolkit.dll
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

Scene

currentScene

The scene that was active before this scope.

public readonly Scene currentScene

Field Value

Scene

Methods

Dispose()

public void Dispose()