public override void OnValidate(ITaskSystem ownerSystem)
 {
     if (functionWrapper != null && functionWrapper.HasChanged())
     {
         SetMethod(functionWrapper.GetMethod());
     }
 }
示例#2
0
 public override void OnValidate(ITaskSystem ownerSystem)
 {
     if (functionWrapper != null && functionWrapper.HasChanged())
     {
         functionWrapper = ReflectedFunctionWrapper.Create(functionWrapper.GetMethod(), blackboard);
     }
 }
 public override void OnValidate(ITaskSystem ownerSystem)
 {
     if (functionWrapper != null && functionWrapper.HasChanged())
     {
         SetMethod(functionWrapper.GetMethod());
     }
     if (functionWrapper != null && targetMethod == null)
     {
         Error(string.Format("Missing Method '{0}'", functionWrapper.GetMethodString()));
     }
 }