Exemplo n.º 1
0
 public override void OnActivate(int pinID)
 {
     if (this.m_Api != null)
     {
         DebugUtility.LogError("同時に複数の通信が入ると駄目!");
     }
     else
     {
         if (pinID == 200)
         {
             this.m_Api = (FlowNode_ReqOption.ApiBase) new FlowNode_ReqOption.Api_OptionSet(this);
         }
         if (this.m_Api == null)
         {
             return;
         }
         if (this.m_Api.Start())
         {
             ((Behaviour)this).set_enabled(true);
         }
         else
         {
             this.m_Api = (FlowNode_ReqOption.ApiBase)null;
         }
     }
 }
Exemplo n.º 2
0
 public override void OnSuccess(WWWResult www)
 {
     if (this.m_Api == null)
     {
         return;
     }
     this.m_Api.Complete(www);
     this.m_Api = (FlowNode_ReqOption.ApiBase)null;
 }