when I put instruction like that in an instruction block of Articy :
- Code: Select all
Bolt.PrivateSpace = false;
SendNotif("Private Space", "Content Lock");
It's didn't generate method in ArticyScriptFragments class
- Code: Select all
/// <summary>
/// ObjectID: 0x0
/// Articy Object ref: articy://localhost/view/86b31330-518a-49ad-977c-9e085bfdc3da/0?pane=selected&tab=current
/// </summary>
public void Script_PoVumjma4U2z00GX3fxpw(ArticyGlobalVariables aGlobalVariablesState, Articy.Unity.IBaseScriptMethodProvider aMethodProvider)
{
aGlobalVariablesState.Bolt.PrivateSpace = false;
SendNotif(aMethodProvider, "Private Space", "Content Lock");; //Here I have an error, method doesn't exist
}
But if in the instruction block of Articy I put :
- Code: Select all
SendNotif("Private Space", "Content Lock");
Bolt.PrivateSpace = false;
I haven't any problem
- Code: Select all
/// <summary>
/// ObjectID: 0x0
/// Articy Object ref: articy://localhost/view/86b31330-518a-49ad-977c-9e085bfdc3da/0?pane=selected&tab=current
/// </summary>
public void Script_2fXYDJRLvU2u5rUgQjPhw(ArticyGlobalVariables aGlobalVariablesState, Articy.Unity.IBaseScriptMethodProvider aMethodProvider)
{
SendNotif(aMethodProvider, "Private Space", "Content Lock"); //No error
aGlobalVariablesState.Bolt.PrivateSpace = false;;
}