C# Class ExampleVariableStorage, YarnSpinner

Inheritance: Yarn.Unity.VariableStorageBehaviour
显示文件 Open project: thesecretlab/YarnSpinner Class Usage Examples

Public Properties

Property Type Description
defaultVariables DefaultVariable[]

Public Methods

Method Description
Awake ( ) : void
Clear ( ) : void
GetValue ( string variableName ) : Yarn.Value
ResetToDefaults ( ) : void
SetValue ( string variableName, Yarn value ) : void
Update ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

Clear() public method

public Clear ( ) : void
return void

GetValue() public method

public GetValue ( string variableName ) : Yarn.Value
variableName string
return Yarn.Value

ResetToDefaults() public method

public ResetToDefaults ( ) : void
return void

SetValue() public method

public SetValue ( string variableName, Yarn value ) : void
variableName string
value Yarn
return void

Update() public method

public Update ( ) : void
return void

Property Details

defaultVariables public_oe property

public DefaultVariable[] defaultVariables
return DefaultVariable[]