Work on item actions popup menu (like work, buy, etc)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user