/// <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)); }
/// <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)); }
public DeleteScriptTask(Request.DeleteScriptRequest request, UnityAction <AsyncResult <Result.DeleteScriptResult> > userCallback) : base(userCallback) { _request = request; }