예제 #1
0
        public Pvr_Request <T> OnComplete(Pvr_Message <T> .Callback callback)
        {
            if (callback_ != null)
            {
                throw new UnityException("Attempted to attach multiple handlers to a Request.  This is not allowed.");
            }

            callback_ = callback;
            Pvr_Callback.AddRequest(this);
            return(this);
        }
예제 #2
0
 public Request OnComplete(Pvr_Message.Callback callback)
 {
     callback_ = callback;
     Pvr_Callback.AddRequest(this);
     return(this);
 }