Beispiel #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);
        }
Beispiel #2
0
 public Request OnComplete(Pvr_Message.Callback callback)
 {
     callback_ = callback;
     Pvr_Callback.AddRequest(this);
     return(this);
 }