Ejemplo n.º 1
0
 private void Prepare(bool execute)
 {
     if (!behaviour.IsInstance)
     {
         behaviour = behaviour.GetInstance();
     }
     behaviour.Init(this);
     if (!isRuntimeMode)
     {
         behaviour.PresetVariables(presetVariables);
     }
     if (execute)
     {
         behaviour.Execute();
     }
 }