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()));
     }
 }