Version: 2023.1
言語: 日本語
public static MainThreadAwaitable MainThreadAsync ();

戻り値

MainThreadAwaitable Awaitable object that completes when switching on the main thread.

説明

Resumes execution on the Unity main thread. If the caller is already on the main thread, it will complete immediately.