20 lines
445 B
C#
20 lines
445 B
C#
|
using Cysharp.Threading.Tasks;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
namespace Game
|
|||
|
{
|
|||
|
public static class UniTaskHelper
|
|||
|
{
|
|||
|
public static async UniTask WaitFinish(string isFinish)
|
|||
|
{
|
|||
|
Debug.Log("000000000000000");
|
|||
|
while (isFinish == "none")
|
|||
|
{
|
|||
|
Debug.Log("111111111111111");
|
|||
|
await UniTask.Yield();
|
|||
|
}
|
|||
|
|
|||
|
Debug.Log("22222222222222222");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|