player can work now

This commit is contained in:
2023-04-10 18:01:16 +03:00
parent f2753a363b
commit 2f69a2b046
19 changed files with 267 additions and 64 deletions
@@ -1,12 +1,14 @@
using UnityEngine;
using static UnityEditor.Experimental.GraphView.GraphView;
public class BaseInteractableObject : MonoBehaviour
{
[SerializeField]
public Transform _interactionPoint;
protected Player _player;
public virtual void Interact(Player player)
{
Debug.Log("Interact with some object");
_player=player;
}
}