Class SceneVariables
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.VisualScripting
Syntax
[Singleton(Name = "VisualScripting SceneVariables", Automatic = true, Persistent = false)]
[RequireComponent(typeof(Variables))]
[AddComponentMenu("")]
[IncludeInSettings(false)]
public sealed class SceneVariables : MonoBehaviour, ISingleton
Properties
variables
Declaration
public Variables variables { get; }
Property Value
Type | Description |
---|---|
Variables |
Methods
For(Nullable<Scene>)
Declaration
public static VariableDeclarations For(Scene? scene)
Parameters
Type | Name | Description |
---|---|---|
Nullable<Scene> | scene |
Returns
Type | Description |
---|---|
VariableDeclarations |
Instance(Scene)
Declaration
public static SceneVariables Instance(Scene scene)
Parameters
Type | Name | Description |
---|---|---|
Scene | scene |
Returns
Type | Description |
---|---|
SceneVariables |
InstantiatedIn(Scene)
Declaration
public static bool InstantiatedIn(Scene scene)
Parameters
Type | Name | Description |
---|---|---|
Scene | scene |
Returns
Type | Description |
---|---|
Boolean |