Class SceneSingleton<T>
Inheritance
SceneSingleton<T>
Syntax
public static class SceneSingleton<T>
where T : MonoBehaviour, ISingleton
Type Parameters
Methods
Awake(T)
Declaration
public static void Awake(T instance)
Parameters
Type |
Name |
Description |
T |
instance |
|
InstanceIn(Scene)
Declaration
public static T InstanceIn(Scene scene)
Parameters
Type |
Name |
Description |
Scene |
scene |
|
Returns
InstantiatedIn(Scene)
Declaration
public static bool InstantiatedIn(Scene scene)
Parameters
Type |
Name |
Description |
Scene |
scene |
|
Returns
OnDestroy(T)
Declaration
public static void OnDestroy(T instance)
Parameters
Type |
Name |
Description |
T |
instance |
|