Beispiel #1
0
 public virtual void OnError(Exception error)
 {
     SetNodeState(NodeState.Complete);
     executeResult = new ExecuteResult(ExecuteResultState.Error);
     Debug.Assert(nodeObservable != null, "ID: " + GetId() + " type: " + nodeType + " のnodeObservableがnullです");
     nodeObservable?.SendError(error);
 }
Beispiel #2
0
 public virtual void OnError(Exception error)
 {
     Debug.Log("Node OnError: " + error.Message);
     SetNodeState(NodeState.Complete);
     executeResult = new ExecuteResult(ExecuteResultState.Failure);
     if (nodeObservable != null)
     {
         nodeObservable.SendError(error);
     }
 }