new UniTask instead of task
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user