Work on item actions popup menu (like work, buy, etc)

This commit is contained in:
2023-10-03 23:29:41 +03:00
parent 0dfd80cf16
commit 9350cdda48
19 changed files with 2163 additions and 1514 deletions
@@ -5,10 +5,17 @@ public class BaseInteractableObject : MonoBehaviour
{
[SerializeField]
public Transform _interactionPoint;
[SerializeField]
public PopupItemMenu _radialMenuPrefab;
protected Player _player;
public virtual void Interact(Player player)
{
_player=player;
}
public void SpawnMenu()
{
UIManager.Instance.ShowItemsMenu();
}
}