示例#1
0
        /// <summary>
        ///  スクリプトを削除します<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator DeleteScript(
            Request.DeleteScriptRequest request,
            UnityAction <AsyncResult <Result.DeleteScriptResult> > callback
            )
        {
            var task = new DeleteScriptTask(request, callback);

            return(Gs2WebSocketSession.Execute(task));
        }
示例#2
0
        /// <summary>
        ///  スクリプトを削除します<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator DeleteScript(
            Request.DeleteScriptRequest request,
            UnityAction <AsyncResult <Result.DeleteScriptResult> > callback
            )
        {
            var task = new DeleteScriptTask(request, callback);

            if (_certificateHandler != null)
            {
                task.UnityWebRequest.certificateHandler = _certificateHandler;
            }
            return(Gs2RestSession.Execute(task));
        }
示例#3
0
 public DeleteScriptTask(Request.DeleteScriptRequest request, UnityAction <AsyncResult <Result.DeleteScriptResult> > userCallback) : base(userCallback)
 {
     _request = request;
 }