ArticyScriptInstructionCallScript Method
Calls the underlying instruction script.
Definition
Namespace: Articy.Unity
Assembly: ArticyRuntime (in ArticyRuntime.dll) Version: 1.3.1
Assembly: ArticyRuntime (in ArticyRuntime.dll) Version: 1.3.1
C#
public void CallScript(
IBaseScriptMethodProvider aMethodProvider = null,
IGlobalVariables aVariables = null
)Parameters
- aMethodProvider IBaseScriptMethodProvider (Optional)
- The method provider.
- aVariables IGlobalVariables (Optional)
- 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.