Table of Contents

Get Method

Get()

public static LifecycleBehaviour Get()

Get scene-bound lifecycle of active scene.

Returns

LifecycleBehaviour

Get(Scene)

public static LifecycleBehaviour Get(Scene scene)

Get scene-bound lifecycle of specified scene.

Parameters

scene Scene

Returns

LifecycleBehaviour

Lifecycle and its GameObject will be destroyed automatically on sceneUnloaded event.