Click or drag to resize

ArticyScriptInstructionCallScript Method

Calls the underlying instruction script.

Namespace:  Articy.Unity
Assembly:  ArticyRuntime (in ArticyRuntime.dll) Version: 1.0.3
Syntax
C#
public void CallScript(
	IBaseScriptMethodProvider aMethodProvider = null,
	IGlobalVariables aVariables = null
)

Parameters

aMethodProvider (Optional)
Type: Articy.UnityIBaseScriptMethodProvider
The method provider.
aVariables (Optional)
Type: Articy.Unity.InterfacesIGlobalVariables
A variables storage, if null is passed the default storage in database will be used. See DefaultGlobalVariables.
Remarks

You can use this to call a script manually. Most of the scripts found in the flow are called automatically when necessary by ArticyFlowPlayer but scripts in templates for example must be called manually.

See Also