Skip to main content

UniTask

16 tools in this family (folder Editor/Tools/UniTask/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
async_emit_async_coroutine_replacementwritesGenerate a coroutine → UniTask conversion template, mapping yield return null,
async_emit_cancellation_patternwritesGenerate an IDisposable CancellationTokenSource scope class with linked-token ctor,
async_emit_fire_and_forget_helperwritesGenerate Fire-and-Forget extension methods over UniTask / UniTask<T> with built-in
async_emit_main_thread_dispatcherwritesGenerate a main-thread dispatcher helper using UniTask.SwitchToMainThread /
async_emit_progress_reporting_patternwritesGenerate an IProgress<float> reporting pattern with a step-loop sample method and
async_emit_resource_load_asyncwritesGenerate a Resources.LoadAsync<T> helper that awaits the ResourceRequest via
async_emit_scene_load_asyncwritesGenerate a SceneManager.LoadSceneAsync helper using UniTask.ToUniTask(progress,
async_emit_unity_webrequest_awaiterwritesGenerate a UnityWebRequest awaiter helper using SendWebRequest().WithCancellation(ct)
async_emit_wait_for_seconds_asyncwritesGenerate a UniTask.Delay wrapper helper class with two methods: scaled (DeltaTime)
async_emit_when_all_wrapperwritesGenerate a WhenAll combinator wrapper: a strongly-typed N-task variant, a homogeneous
async_get_diagnosticsread-onlyRecompute and return aggregate UniTask diagnostics: handle counts by status,
async_get_versionread-onlyReturn the installed Cysharp UniTask version detected via assembly attribute,
async_initwritesInitialize the Buril UniTask runtime. Probes for the installed Cysharp UniTask package
async_install_package_hintread-onlyReturn the recommended install path for Cysharp UniTask — OpenUPM scoped registry
async_list_handlesread-onlyList mock handles (id, kind, timing, status, elapsed_ms, result, error). Supports
async_simulate_runwritesMock-execute a UniTask spec — creates a handle, transitions Pending→Running→Succeeded