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