Files
AliceBall/Assets/Plugins/ThirdParty/AsyncAwaitUtil/Source/WaitForUpdate.cs
2025-07-23 18:47:59 +08:00

17 lines
412 B
C#

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using UnityEngine;
// This can be used as a way to return to the main unity thread when using multiple threads
// with async methods
public class WaitForUpdate : CustomYieldInstruction
{
public override bool keepWaiting
{
get { return false; }
}
}