mirror of https://github.com/Cysharp/UniTask
3008 lines
115 KiB
HTML
3008 lines
115 KiB
HTML
<!DOCTYPE html>
|
|
<!--[if IE]><![endif]-->
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<title>UnityAsyncExtensions Class
|
|
| UniTask </title>
|
|
<meta name="viewport" content="width=device-width">
|
|
<meta name="title" content="UnityAsyncExtensions Class
|
|
| UniTask ">
|
|
<meta name="generator" content="docfx 2.59.2.0">
|
|
|
|
<link rel="shortcut icon" href="../img/favicon.ico">
|
|
<link rel="stylesheet" href="../styles/docfx.vendor.css">
|
|
<link rel="stylesheet" href="../styles/docfx.css">
|
|
<link rel="stylesheet" href="../styles/main.css">
|
|
<link rel="stylesheet" href="../styles/cysharp.css">
|
|
<meta property="docfx:navrel" content="../toc.html">
|
|
<meta property="docfx:tocrel" content="toc.html">
|
|
|
|
|
|
|
|
</head>
|
|
<body data-spy="scroll" data-target="#affix" data-offset="120">
|
|
<div id="wrapper">
|
|
<header>
|
|
|
|
<nav id="autocollapse" class="navbar navbar-default ng-scope" role="navigation">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
|
|
<div class="navbar-brand">
|
|
<a href="../">
|
|
<img id="logo" src="../img/Icon.png" alt="">
|
|
<span>UniTask</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="collapse navbar-collapse" id="navbar">
|
|
<form class="navbar-form navbar-right" role="search" id="search">
|
|
<div class="form-group">
|
|
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="subnav navbar navbar-default">
|
|
<div class="container hide-when-search" id="breadcrumb">
|
|
<ul class="breadcrumb">
|
|
<li></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div role="main" class="container body-content hide-when-search">
|
|
|
|
<div class="sidenav hide-when-search">
|
|
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
|
|
<div class="sidetoggle collapse" id="sidetoggle">
|
|
<div id="sidetoc"></div>
|
|
</div>
|
|
</div>
|
|
<div class="article row grid-right">
|
|
<div class="col-md-10">
|
|
<article class="content wrap" id="_content" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions">
|
|
|
|
<h1 id="Cysharp_Threading_Tasks_UnityAsyncExtensions" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions" class="text-break">UnityAsyncExtensions Class
|
|
</h1>
|
|
<h6><strong>Namespace</strong>: <a class="xref" href="Cysharp.Threading.Tasks.html">Cysharp.Threading.Tasks</a></h6>
|
|
<h6><strong>Assembly</strong>: cs.temp.dll.dll</h6>
|
|
|
|
<div class="markdown level0 summary"></div>
|
|
<div class="markdown level0 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static class UnityAsyncExtensions</code></pre>
|
|
</div>
|
|
|
|
<div class="inheritance">
|
|
<h5>Inheritance</h5>
|
|
<span><span class="xref">System.Object</span></span> →
|
|
<span class="xref">UnityAsyncExtensions</span>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="members">Members</h3>
|
|
<h4>Methods
|
|
</h4>
|
|
<table class="table table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncClickEventHandler_Button_">GetAsyncClickEventHandler(Button)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncClickEventHandler_Button_CancellationToken_">GetAsyncClickEventHandler(Button, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncEndEditEventHandler_InputField_">GetAsyncEndEditEventHandler(InputField)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncEndEditEventHandler_InputField_CancellationToken_">GetAsyncEndEditEventHandler(InputField, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncEventHandler_UnityEvent_CancellationToken_">GetAsyncEventHandler(UnityEvent, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncEventHandler__1_UnityEvent___0__CancellationToken_">GetAsyncEventHandler<T>(UnityEvent<T>, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Dropdown_">GetAsyncValueChangedEventHandler(Dropdown)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Dropdown_CancellationToken_">GetAsyncValueChangedEventHandler(Dropdown, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_InputField_">GetAsyncValueChangedEventHandler(InputField)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_InputField_CancellationToken_">GetAsyncValueChangedEventHandler(InputField, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Scrollbar_">GetAsyncValueChangedEventHandler(Scrollbar)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Scrollbar_CancellationToken_">GetAsyncValueChangedEventHandler(Scrollbar, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_ScrollRect_">GetAsyncValueChangedEventHandler(ScrollRect)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_ScrollRect_CancellationToken_">GetAsyncValueChangedEventHandler(ScrollRect, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Slider_">GetAsyncValueChangedEventHandler(Slider)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Slider_CancellationToken_">GetAsyncValueChangedEventHandler(Slider, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Toggle_">GetAsyncValueChangedEventHandler(Toggle)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Toggle_CancellationToken_">GetAsyncValueChangedEventHandler(Toggle, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAwaiter_AsyncGPUReadbackRequest_">GetAwaiter(AsyncGPUReadbackRequest)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAwaiter_AsyncOperation_">GetAwaiter(AsyncOperation)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAwaiter_ResourceRequest_">GetAwaiter(ResourceRequest)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnClickAsAsyncEnumerable_Button_">OnClickAsAsyncEnumerable(Button)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnClickAsAsyncEnumerable_Button_CancellationToken_">OnClickAsAsyncEnumerable(Button, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnClickAsync_Button_">OnClickAsync(Button)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnClickAsync_Button_CancellationToken_">OnClickAsync(Button, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnEndEditAsAsyncEnumerable_InputField_">OnEndEditAsAsyncEnumerable(InputField)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnEndEditAsAsyncEnumerable_InputField_CancellationToken_">OnEndEditAsAsyncEnumerable(InputField, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnEndEditAsync_InputField_">OnEndEditAsync(InputField)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnEndEditAsync_InputField_CancellationToken_">OnEndEditAsync(InputField, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnInvokeAsAsyncEnumerable_UnityEvent_CancellationToken_">OnInvokeAsAsyncEnumerable(UnityEvent, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnInvokeAsAsyncEnumerable__1_UnityEvent___0__CancellationToken_">OnInvokeAsAsyncEnumerable<T>(UnityEvent<T>, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnInvokeAsync_UnityEvent_CancellationToken_">OnInvokeAsync(UnityEvent, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnInvokeAsync__1_UnityEvent___0__CancellationToken_">OnInvokeAsync<T>(UnityEvent<T>, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Dropdown_">OnValueChangedAsAsyncEnumerable(Dropdown)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Dropdown_CancellationToken_">OnValueChangedAsAsyncEnumerable(Dropdown, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_InputField_">OnValueChangedAsAsyncEnumerable(InputField)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_InputField_CancellationToken_">OnValueChangedAsAsyncEnumerable(InputField, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Scrollbar_">OnValueChangedAsAsyncEnumerable(Scrollbar)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Scrollbar_CancellationToken_">OnValueChangedAsAsyncEnumerable(Scrollbar, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_ScrollRect_">OnValueChangedAsAsyncEnumerable(ScrollRect)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_ScrollRect_CancellationToken_">OnValueChangedAsAsyncEnumerable(ScrollRect, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Slider_">OnValueChangedAsAsyncEnumerable(Slider)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Slider_CancellationToken_">OnValueChangedAsAsyncEnumerable(Slider, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Toggle_">OnValueChangedAsAsyncEnumerable(Toggle)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Toggle_CancellationToken_">OnValueChangedAsAsyncEnumerable(Toggle, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Dropdown_">OnValueChangedAsync(Dropdown)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Dropdown_CancellationToken_">OnValueChangedAsync(Dropdown, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_InputField_">OnValueChangedAsync(InputField)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_InputField_CancellationToken_">OnValueChangedAsync(InputField, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Scrollbar_">OnValueChangedAsync(Scrollbar)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Scrollbar_CancellationToken_">OnValueChangedAsync(Scrollbar, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_ScrollRect_">OnValueChangedAsync(ScrollRect)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_ScrollRect_CancellationToken_">OnValueChangedAsync(ScrollRect, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Slider_">OnValueChangedAsync(Slider)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Slider_CancellationToken_">OnValueChangedAsync(Slider, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Toggle_">OnValueChangedAsync(Toggle)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Toggle_CancellationToken_">OnValueChangedAsync(Toggle, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_StartAsyncCoroutine_UnityEngine_MonoBehaviour_Func_CancellationToken_Cysharp_Threading_Tasks_UniTask__">StartAsyncCoroutine(UnityEngine.MonoBehaviour, Func<CancellationToken, UniTask>)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_ToUniTask_AsyncGPUReadbackRequest_Cysharp_Threading_Tasks_PlayerLoopTiming_CancellationToken_">ToUniTask(AsyncGPUReadbackRequest, PlayerLoopTiming, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_ToUniTask_AsyncOperation_IProgress_System_Single__Cysharp_Threading_Tasks_PlayerLoopTiming_CancellationToken_">ToUniTask(AsyncOperation, IProgress<Single>, PlayerLoopTiming, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_ToUniTask_ResourceRequest_IProgress_System_Single__Cysharp_Threading_Tasks_PlayerLoopTiming_CancellationToken_">ToUniTask(ResourceRequest, IProgress<Single>, PlayerLoopTiming, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_WithCancellation_AsyncGPUReadbackRequest_CancellationToken_">WithCancellation(AsyncGPUReadbackRequest, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_WithCancellation_AsyncOperation_CancellationToken_">WithCancellation(AsyncOperation, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.html#Cysharp_Threading_Tasks_UnityAsyncExtensions_WithCancellation_ResourceRequest_CancellationToken_">WithCancellation(ResourceRequest, CancellationToken)</a>
|
|
</td>
|
|
<td class="markdown level1 summary"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<h3 id="methods">Methods
|
|
</h3>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncClickEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncClickEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncClickEventHandler_Button_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncClickEventHandler(Button)">GetAsyncClickEventHandler(Button)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncClickEventHandler GetAsyncClickEventHandler(this Button button)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>button</code></span> <span class="xref">Button</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncClickEventHandler.html">IAsyncClickEventHandler</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncClickEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncClickEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncClickEventHandler_Button_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncClickEventHandler(Button,CancellationToken)">GetAsyncClickEventHandler(Button, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncClickEventHandler GetAsyncClickEventHandler(this Button button, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>button</code></span> <span class="xref">Button</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncClickEventHandler.html">IAsyncClickEventHandler</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncEndEditEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncEndEditEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncEndEditEventHandler_InputField_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncEndEditEventHandler(InputField)">GetAsyncEndEditEventHandler(InputField)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncEndEditEventHandler<string> GetAsyncEndEditEventHandler(this InputField inputField)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>inputField</code></span> <span class="xref">InputField</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncEndEditEventHandler-1.html">IAsyncEndEditEventHandler</a><<span class="xref">System.String</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncEndEditEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncEndEditEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncEndEditEventHandler_InputField_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncEndEditEventHandler(InputField,CancellationToken)">GetAsyncEndEditEventHandler(InputField, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncEndEditEventHandler<string> GetAsyncEndEditEventHandler(this InputField inputField, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>inputField</code></span> <span class="xref">InputField</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncEndEditEventHandler-1.html">IAsyncEndEditEventHandler</a><<span class="xref">System.String</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncEventHandler_UnityEvent_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncEventHandler(UnityEvent,CancellationToken)">GetAsyncEventHandler(UnityEvent, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static AsyncUnityEventHandler GetAsyncEventHandler(this UnityEvent unityEvent, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>unityEvent</code></span> <span class="xref">UnityEvent</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.AsyncUnityEventHandler.html">AsyncUnityEventHandler</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncEventHandler__1_UnityEvent___0__CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncEventHandler``1(UnityEvent{``0},CancellationToken)">GetAsyncEventHandler<T>(UnityEvent<T>, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static AsyncUnityEventHandler<T> GetAsyncEventHandler<T>(this UnityEvent<T> unityEvent, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>unityEvent</code></span> <span class="xref">UnityEvent</span><T></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.AsyncUnityEventHandler-1.html">AsyncUnityEventHandler</a><T></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="typeParameters">Type Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>T</code></span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Dropdown_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler(Dropdown)">GetAsyncValueChangedEventHandler(Dropdown)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncValueChangedEventHandler<int> GetAsyncValueChangedEventHandler(this Dropdown dropdown)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>dropdown</code></span> <span class="xref">Dropdown</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncValueChangedEventHandler-1.html">IAsyncValueChangedEventHandler</a><<span class="xref">System.Int32</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Dropdown_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler(Dropdown,CancellationToken)">GetAsyncValueChangedEventHandler(Dropdown, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncValueChangedEventHandler<int> GetAsyncValueChangedEventHandler(this Dropdown dropdown, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>dropdown</code></span> <span class="xref">Dropdown</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncValueChangedEventHandler-1.html">IAsyncValueChangedEventHandler</a><<span class="xref">System.Int32</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_InputField_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler(InputField)">GetAsyncValueChangedEventHandler(InputField)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncValueChangedEventHandler<string> GetAsyncValueChangedEventHandler(this InputField inputField)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>inputField</code></span> <span class="xref">InputField</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncValueChangedEventHandler-1.html">IAsyncValueChangedEventHandler</a><<span class="xref">System.String</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_InputField_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler(InputField,CancellationToken)">GetAsyncValueChangedEventHandler(InputField, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncValueChangedEventHandler<string> GetAsyncValueChangedEventHandler(this InputField inputField, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>inputField</code></span> <span class="xref">InputField</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncValueChangedEventHandler-1.html">IAsyncValueChangedEventHandler</a><<span class="xref">System.String</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Scrollbar_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler(Scrollbar)">GetAsyncValueChangedEventHandler(Scrollbar)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncValueChangedEventHandler<float> GetAsyncValueChangedEventHandler(this Scrollbar scrollbar)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>scrollbar</code></span> <span class="xref">Scrollbar</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncValueChangedEventHandler-1.html">IAsyncValueChangedEventHandler</a><<span class="xref">System.Single</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Scrollbar_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler(Scrollbar,CancellationToken)">GetAsyncValueChangedEventHandler(Scrollbar, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncValueChangedEventHandler<float> GetAsyncValueChangedEventHandler(this Scrollbar scrollbar, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>scrollbar</code></span> <span class="xref">Scrollbar</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncValueChangedEventHandler-1.html">IAsyncValueChangedEventHandler</a><<span class="xref">System.Single</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_ScrollRect_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler(ScrollRect)">GetAsyncValueChangedEventHandler(ScrollRect)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncValueChangedEventHandler<Vector2> GetAsyncValueChangedEventHandler(this ScrollRect scrollRect)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>scrollRect</code></span> <span class="xref">ScrollRect</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncValueChangedEventHandler-1.html">IAsyncValueChangedEventHandler</a><<span class="xref">Vector2</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_ScrollRect_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler(ScrollRect,CancellationToken)">GetAsyncValueChangedEventHandler(ScrollRect, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncValueChangedEventHandler<Vector2> GetAsyncValueChangedEventHandler(this ScrollRect scrollRect, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>scrollRect</code></span> <span class="xref">ScrollRect</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncValueChangedEventHandler-1.html">IAsyncValueChangedEventHandler</a><<span class="xref">Vector2</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Slider_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler(Slider)">GetAsyncValueChangedEventHandler(Slider)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncValueChangedEventHandler<float> GetAsyncValueChangedEventHandler(this Slider slider)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>slider</code></span> <span class="xref">Slider</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncValueChangedEventHandler-1.html">IAsyncValueChangedEventHandler</a><<span class="xref">System.Single</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Slider_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler(Slider,CancellationToken)">GetAsyncValueChangedEventHandler(Slider, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncValueChangedEventHandler<float> GetAsyncValueChangedEventHandler(this Slider slider, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>slider</code></span> <span class="xref">Slider</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncValueChangedEventHandler-1.html">IAsyncValueChangedEventHandler</a><<span class="xref">System.Single</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Toggle_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler(Toggle)">GetAsyncValueChangedEventHandler(Toggle)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncValueChangedEventHandler<bool> GetAsyncValueChangedEventHandler(this Toggle toggle)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>toggle</code></span> <span class="xref">Toggle</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncValueChangedEventHandler-1.html">IAsyncValueChangedEventHandler</a><<span class="xref">System.Boolean</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAsyncValueChangedEventHandler_Toggle_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAsyncValueChangedEventHandler(Toggle,CancellationToken)">GetAsyncValueChangedEventHandler(Toggle, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IAsyncValueChangedEventHandler<bool> GetAsyncValueChangedEventHandler(this Toggle toggle, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>toggle</code></span> <span class="xref">Toggle</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IAsyncValueChangedEventHandler-1.html">IAsyncValueChangedEventHandler</a><<span class="xref">System.Boolean</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAwaiter_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAwaiter*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAwaiter_AsyncGPUReadbackRequest_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAwaiter(AsyncGPUReadbackRequest)">GetAwaiter(AsyncGPUReadbackRequest)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<AsyncGPUReadbackRequest>.Awaiter GetAwaiter(this AsyncGPUReadbackRequest asyncOperation)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>asyncOperation</code></span> <span class="xref">AsyncGPUReadbackRequest</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.Awaiter.html">UniTask.Awaiter</a><></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAwaiter_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAwaiter*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAwaiter_AsyncOperation_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAwaiter(AsyncOperation)">GetAwaiter(AsyncOperation)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UnityAsyncExtensions.AsyncOperationAwaiter GetAwaiter(this AsyncOperation asyncOperation)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>asyncOperation</code></span> <span class="xref">AsyncOperation</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.AsyncOperationAwaiter.html">UnityAsyncExtensions.AsyncOperationAwaiter</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAwaiter_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAwaiter*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_GetAwaiter_ResourceRequest_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.GetAwaiter(ResourceRequest)">GetAwaiter(ResourceRequest)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UnityAsyncExtensions.ResourceRequestAwaiter GetAwaiter(this ResourceRequest asyncOperation)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>asyncOperation</code></span> <span class="xref">ResourceRequest</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UnityAsyncExtensions.ResourceRequestAwaiter.html">UnityAsyncExtensions.ResourceRequestAwaiter</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnClickAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnClickAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnClickAsAsyncEnumerable_Button_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnClickAsAsyncEnumerable(Button)">OnClickAsAsyncEnumerable(Button)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<AsyncUnit> OnClickAsAsyncEnumerable(this Button button)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>button</code></span> <span class="xref">Button</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<a class="xref" href="Cysharp.Threading.Tasks.AsyncUnit.html">AsyncUnit</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnClickAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnClickAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnClickAsAsyncEnumerable_Button_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnClickAsAsyncEnumerable(Button,CancellationToken)">OnClickAsAsyncEnumerable(Button, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<AsyncUnit> OnClickAsAsyncEnumerable(this Button button, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>button</code></span> <span class="xref">Button</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<a class="xref" href="Cysharp.Threading.Tasks.AsyncUnit.html">AsyncUnit</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnClickAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnClickAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnClickAsync_Button_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnClickAsync(Button)">OnClickAsync(Button)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask OnClickAsync(this Button button)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>button</code></span> <span class="xref">Button</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask.html">UniTask</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnClickAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnClickAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnClickAsync_Button_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnClickAsync(Button,CancellationToken)">OnClickAsync(Button, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask OnClickAsync(this Button button, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>button</code></span> <span class="xref">Button</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask.html">UniTask</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnEndEditAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnEndEditAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnEndEditAsAsyncEnumerable_InputField_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnEndEditAsAsyncEnumerable(InputField)">OnEndEditAsAsyncEnumerable(InputField)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<string> OnEndEditAsAsyncEnumerable(this InputField inputField)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>inputField</code></span> <span class="xref">InputField</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<span class="xref">System.String</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnEndEditAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnEndEditAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnEndEditAsAsyncEnumerable_InputField_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnEndEditAsAsyncEnumerable(InputField,CancellationToken)">OnEndEditAsAsyncEnumerable(InputField, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<string> OnEndEditAsAsyncEnumerable(this InputField inputField, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>inputField</code></span> <span class="xref">InputField</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<span class="xref">System.String</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnEndEditAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnEndEditAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnEndEditAsync_InputField_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnEndEditAsync(InputField)">OnEndEditAsync(InputField)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<string> OnEndEditAsync(this InputField inputField)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>inputField</code></span> <span class="xref">InputField</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">System.String</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnEndEditAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnEndEditAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnEndEditAsync_InputField_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnEndEditAsync(InputField,CancellationToken)">OnEndEditAsync(InputField, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<string> OnEndEditAsync(this InputField inputField, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>inputField</code></span> <span class="xref">InputField</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">System.String</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnInvokeAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnInvokeAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnInvokeAsAsyncEnumerable_UnityEvent_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnInvokeAsAsyncEnumerable(UnityEvent,CancellationToken)">OnInvokeAsAsyncEnumerable(UnityEvent, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<AsyncUnit> OnInvokeAsAsyncEnumerable(this UnityEvent unityEvent, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>unityEvent</code></span> <span class="xref">UnityEvent</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<a class="xref" href="Cysharp.Threading.Tasks.AsyncUnit.html">AsyncUnit</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnInvokeAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnInvokeAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnInvokeAsAsyncEnumerable__1_UnityEvent___0__CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnInvokeAsAsyncEnumerable``1(UnityEvent{``0},CancellationToken)">OnInvokeAsAsyncEnumerable<T>(UnityEvent<T>, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<T> OnInvokeAsAsyncEnumerable<T>(this UnityEvent<T> unityEvent, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>unityEvent</code></span> <span class="xref">UnityEvent</span><T></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><T></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="typeParameters">Type Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>T</code></span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnInvokeAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnInvokeAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnInvokeAsync_UnityEvent_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnInvokeAsync(UnityEvent,CancellationToken)">OnInvokeAsync(UnityEvent, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask OnInvokeAsync(this UnityEvent unityEvent, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>unityEvent</code></span> <span class="xref">UnityEvent</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask.html">UniTask</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnInvokeAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnInvokeAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnInvokeAsync__1_UnityEvent___0__CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnInvokeAsync``1(UnityEvent{``0},CancellationToken)">OnInvokeAsync<T>(UnityEvent<T>, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<T> OnInvokeAsync<T>(this UnityEvent<T> unityEvent, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>unityEvent</code></span> <span class="xref">UnityEvent</span><T></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><T></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="typeParameters">Type Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>T</code></span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Dropdown_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable(Dropdown)">OnValueChangedAsAsyncEnumerable(Dropdown)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<int> OnValueChangedAsAsyncEnumerable(this Dropdown dropdown)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>dropdown</code></span> <span class="xref">Dropdown</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<span class="xref">System.Int32</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Dropdown_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable(Dropdown,CancellationToken)">OnValueChangedAsAsyncEnumerable(Dropdown, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<int> OnValueChangedAsAsyncEnumerable(this Dropdown dropdown, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>dropdown</code></span> <span class="xref">Dropdown</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<span class="xref">System.Int32</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_InputField_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable(InputField)">OnValueChangedAsAsyncEnumerable(InputField)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<string> OnValueChangedAsAsyncEnumerable(this InputField inputField)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>inputField</code></span> <span class="xref">InputField</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<span class="xref">System.String</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_InputField_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable(InputField,CancellationToken)">OnValueChangedAsAsyncEnumerable(InputField, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<string> OnValueChangedAsAsyncEnumerable(this InputField inputField, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>inputField</code></span> <span class="xref">InputField</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<span class="xref">System.String</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Scrollbar_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable(Scrollbar)">OnValueChangedAsAsyncEnumerable(Scrollbar)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<float> OnValueChangedAsAsyncEnumerable(this Scrollbar scrollbar)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>scrollbar</code></span> <span class="xref">Scrollbar</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<span class="xref">System.Single</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Scrollbar_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable(Scrollbar,CancellationToken)">OnValueChangedAsAsyncEnumerable(Scrollbar, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<float> OnValueChangedAsAsyncEnumerable(this Scrollbar scrollbar, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>scrollbar</code></span> <span class="xref">Scrollbar</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<span class="xref">System.Single</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_ScrollRect_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable(ScrollRect)">OnValueChangedAsAsyncEnumerable(ScrollRect)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<Vector2> OnValueChangedAsAsyncEnumerable(this ScrollRect scrollRect)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>scrollRect</code></span> <span class="xref">ScrollRect</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<span class="xref">Vector2</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_ScrollRect_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable(ScrollRect,CancellationToken)">OnValueChangedAsAsyncEnumerable(ScrollRect, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<Vector2> OnValueChangedAsAsyncEnumerable(this ScrollRect scrollRect, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>scrollRect</code></span> <span class="xref">ScrollRect</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<span class="xref">Vector2</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Slider_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable(Slider)">OnValueChangedAsAsyncEnumerable(Slider)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<float> OnValueChangedAsAsyncEnumerable(this Slider slider)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>slider</code></span> <span class="xref">Slider</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<span class="xref">System.Single</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Slider_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable(Slider,CancellationToken)">OnValueChangedAsAsyncEnumerable(Slider, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<float> OnValueChangedAsAsyncEnumerable(this Slider slider, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>slider</code></span> <span class="xref">Slider</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<span class="xref">System.Single</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Toggle_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable(Toggle)">OnValueChangedAsAsyncEnumerable(Toggle)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<bool> OnValueChangedAsAsyncEnumerable(this Toggle toggle)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>toggle</code></span> <span class="xref">Toggle</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<span class="xref">System.Boolean</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsAsyncEnumerable_Toggle_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsAsyncEnumerable(Toggle,CancellationToken)">OnValueChangedAsAsyncEnumerable(Toggle, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static IUniTaskAsyncEnumerable<bool> OnValueChangedAsAsyncEnumerable(this Toggle toggle, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>toggle</code></span> <span class="xref">Toggle</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.IUniTaskAsyncEnumerable-1.html">IUniTaskAsyncEnumerable</a><<span class="xref">System.Boolean</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Dropdown_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync(Dropdown)">OnValueChangedAsync(Dropdown)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<int> OnValueChangedAsync(this Dropdown dropdown)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>dropdown</code></span> <span class="xref">Dropdown</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">System.Int32</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Dropdown_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync(Dropdown,CancellationToken)">OnValueChangedAsync(Dropdown, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<int> OnValueChangedAsync(this Dropdown dropdown, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>dropdown</code></span> <span class="xref">Dropdown</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">System.Int32</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_InputField_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync(InputField)">OnValueChangedAsync(InputField)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<string> OnValueChangedAsync(this InputField inputField)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>inputField</code></span> <span class="xref">InputField</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">System.String</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_InputField_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync(InputField,CancellationToken)">OnValueChangedAsync(InputField, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<string> OnValueChangedAsync(this InputField inputField, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>inputField</code></span> <span class="xref">InputField</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">System.String</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Scrollbar_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync(Scrollbar)">OnValueChangedAsync(Scrollbar)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<float> OnValueChangedAsync(this Scrollbar scrollbar)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>scrollbar</code></span> <span class="xref">Scrollbar</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">System.Single</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Scrollbar_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync(Scrollbar,CancellationToken)">OnValueChangedAsync(Scrollbar, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<float> OnValueChangedAsync(this Scrollbar scrollbar, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>scrollbar</code></span> <span class="xref">Scrollbar</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">System.Single</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_ScrollRect_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync(ScrollRect)">OnValueChangedAsync(ScrollRect)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<Vector2> OnValueChangedAsync(this ScrollRect scrollRect)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>scrollRect</code></span> <span class="xref">ScrollRect</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">Vector2</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_ScrollRect_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync(ScrollRect,CancellationToken)">OnValueChangedAsync(ScrollRect, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<Vector2> OnValueChangedAsync(this ScrollRect scrollRect, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>scrollRect</code></span> <span class="xref">ScrollRect</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">Vector2</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Slider_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync(Slider)">OnValueChangedAsync(Slider)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<float> OnValueChangedAsync(this Slider slider)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>slider</code></span> <span class="xref">Slider</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">System.Single</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Slider_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync(Slider,CancellationToken)">OnValueChangedAsync(Slider, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<float> OnValueChangedAsync(this Slider slider, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>slider</code></span> <span class="xref">Slider</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">System.Single</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Toggle_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync(Toggle)">OnValueChangedAsync(Toggle)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<bool> OnValueChangedAsync(this Toggle toggle)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>toggle</code></span> <span class="xref">Toggle</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">System.Boolean</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_OnValueChangedAsync_Toggle_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.OnValueChangedAsync(Toggle,CancellationToken)">OnValueChangedAsync(Toggle, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<bool> OnValueChangedAsync(this Toggle toggle, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>toggle</code></span> <span class="xref">Toggle</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">System.Boolean</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_StartAsyncCoroutine_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.StartAsyncCoroutine*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_StartAsyncCoroutine_UnityEngine_MonoBehaviour_Func_CancellationToken_Cysharp_Threading_Tasks_UniTask__" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.StartAsyncCoroutine(UnityEngine.MonoBehaviour,Func{CancellationToken,Cysharp.Threading.Tasks.UniTask})">StartAsyncCoroutine(UnityEngine.MonoBehaviour, Func<CancellationToken, UniTask>)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask StartAsyncCoroutine(this UnityEngine.MonoBehaviour monoBehaviour, Func<CancellationToken, UniTask> asyncCoroutine)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>monoBehaviour</code></span> <span class="xref">UnityEngine.MonoBehaviour</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>asyncCoroutine</code></span> <span class="xref">Func</span><<span class="xref">CancellationToken</span>, <a class="xref" href="Cysharp.Threading.Tasks.UniTask.html">UniTask</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask.html">UniTask</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_ToUniTask_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.ToUniTask*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_ToUniTask_AsyncGPUReadbackRequest_Cysharp_Threading_Tasks_PlayerLoopTiming_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.ToUniTask(AsyncGPUReadbackRequest,Cysharp.Threading.Tasks.PlayerLoopTiming,CancellationToken)">ToUniTask(AsyncGPUReadbackRequest, PlayerLoopTiming, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<AsyncGPUReadbackRequest> ToUniTask(this AsyncGPUReadbackRequest asyncOperation, PlayerLoopTiming timing = PlayerLoopTiming.Update, CancellationToken cancellationToken = null)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>asyncOperation</code></span> <span class="xref">AsyncGPUReadbackRequest</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>timing</code></span> <a class="xref" href="Cysharp.Threading.Tasks.PlayerLoopTiming.html">PlayerLoopTiming</a></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">AsyncGPUReadbackRequest</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_ToUniTask_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.ToUniTask*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_ToUniTask_AsyncOperation_IProgress_System_Single__Cysharp_Threading_Tasks_PlayerLoopTiming_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.ToUniTask(AsyncOperation,IProgress{System.Single},Cysharp.Threading.Tasks.PlayerLoopTiming,CancellationToken)">ToUniTask(AsyncOperation, IProgress<Single>, PlayerLoopTiming, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask ToUniTask(this AsyncOperation asyncOperation, IProgress<float> progress = null, PlayerLoopTiming timing = PlayerLoopTiming.Update, CancellationToken cancellationToken = null)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>asyncOperation</code></span> <span class="xref">AsyncOperation</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>progress</code></span> <span class="xref">IProgress</span><<span class="xref">System.Single</span>></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>timing</code></span> <a class="xref" href="Cysharp.Threading.Tasks.PlayerLoopTiming.html">PlayerLoopTiming</a></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask.html">UniTask</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_ToUniTask_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.ToUniTask*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_ToUniTask_ResourceRequest_IProgress_System_Single__Cysharp_Threading_Tasks_PlayerLoopTiming_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.ToUniTask(ResourceRequest,IProgress{System.Single},Cysharp.Threading.Tasks.PlayerLoopTiming,CancellationToken)">ToUniTask(ResourceRequest, IProgress<Single>, PlayerLoopTiming, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<UnityEngine.Object> ToUniTask(this ResourceRequest asyncOperation, IProgress<float> progress = null, PlayerLoopTiming timing = PlayerLoopTiming.Update, CancellationToken cancellationToken = null)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>asyncOperation</code></span> <span class="xref">ResourceRequest</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>progress</code></span> <span class="xref">IProgress</span><<span class="xref">System.Single</span>></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>timing</code></span> <a class="xref" href="Cysharp.Threading.Tasks.PlayerLoopTiming.html">PlayerLoopTiming</a></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">UnityEngine.Object</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_WithCancellation_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.WithCancellation*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_WithCancellation_AsyncGPUReadbackRequest_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.WithCancellation(AsyncGPUReadbackRequest,CancellationToken)">WithCancellation(AsyncGPUReadbackRequest, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<AsyncGPUReadbackRequest> WithCancellation(this AsyncGPUReadbackRequest asyncOperation, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>asyncOperation</code></span> <span class="xref">AsyncGPUReadbackRequest</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">AsyncGPUReadbackRequest</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_WithCancellation_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.WithCancellation*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_WithCancellation_AsyncOperation_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.WithCancellation(AsyncOperation,CancellationToken)">WithCancellation(AsyncOperation, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask WithCancellation(this AsyncOperation asyncOperation, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>asyncOperation</code></span> <span class="xref">AsyncOperation</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask.html">UniTask</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
<section>
|
|
<a id="Cysharp_Threading_Tasks_UnityAsyncExtensions_WithCancellation_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.WithCancellation*"></a>
|
|
<h4 id="Cysharp_Threading_Tasks_UnityAsyncExtensions_WithCancellation_ResourceRequest_CancellationToken_" data-uid="Cysharp.Threading.Tasks.UnityAsyncExtensions.WithCancellation(ResourceRequest,CancellationToken)">WithCancellation(ResourceRequest, CancellationToken)</h4>
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static UniTask<UnityEngine.Object> WithCancellation(this ResourceRequest asyncOperation, CancellationToken cancellationToken)</code></pre>
|
|
</div>
|
|
|
|
<section>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><span class="parametername"><code>asyncOperation</code></span> <span class="xref">ResourceRequest</span></dt>
|
|
<dd></dd>
|
|
<dt><span class="parametername"><code>cancellationToken</code></span> <span class="xref">CancellationToken</span></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section>
|
|
<h5 class="returns">Returns</h5>
|
|
<dl class="cysharpdocfx-valuedefinition">
|
|
<dt><a class="xref" href="Cysharp.Threading.Tasks.UniTask-1.html">UniTask</a><<span class="xref">UnityEngine.Object</span>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
</article>
|
|
</div>
|
|
|
|
<div class="hidden-sm col-md-2" role="complementary">
|
|
<div class="sideaffix">
|
|
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
|
|
<!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<footer>
|
|
<div class="footer">
|
|
<div class="container">
|
|
<span class="pull-right">
|
|
<a href="#top">Back to top</a>
|
|
</span>
|
|
|
|
Copyright © <a href="https://cysharp.co.jp/">Cysharp</a>, Inc. | <span>Generated by <strong>DocFX</strong></span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
|
|
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
|
|
<script type="text/javascript" src="../styles/docfx.js"></script>
|
|
<script type="text/javascript" src="../styles/docfx.override.js"></script>
|
|
<script type="text/javascript" src="../styles/main.js"></script>
|
|
</body>
|
|
</html>
|