new UniTask instead of task

This commit is contained in:
2023-12-17 23:23:40 +02:00
parent 255b358b63
commit c9d9900fca
69 changed files with 4065 additions and 25 deletions
@@ -1,6 +1,6 @@
using System.Collections.Generic;
using Cysharp.Threading.Tasks;
using System.Linq;
using System.Threading.Tasks;
using UnityEngine;
public abstract class BaseInteractableObject : MonoBehaviour
@@ -31,7 +31,7 @@ public abstract class BaseInteractableObject : MonoBehaviour
};
}
public async Task<InteractionStatus> ShowPopupMenu(Player player)
public async UniTask<InteractionStatus> ShowPopupMenu(Player player)
{
_player = player;
PrepareMenuActions();