public override void Process(TaskProvider taskProvider) { base.Process(taskProvider); ActorTaskProvider actorTaskProvider = taskProvider as ActorTaskProvider; if (actorTaskProvider != null) { SetTaskProvider(actorTaskProvider); } }
protected override void OnValidate() { base.OnValidate(); if (TaskProvider != null) { TaskProvider = TaskProvider.ScriptClone(); } if (Task != null) { Task = Task.ScriptClone(); } if (Command != null) { Command = Command.ScriptClone(); } }
public void RemoveTaskProvider() { TaskProvider = null; }
public void SetTaskProvider(ActorTaskProvider taskProvider) { TaskProvider = taskProvider; }