Add items, Pickup logic works

This commit is contained in:
2024-10-17 01:22:54 +02:00
parent ec487096bf
commit f594bdf112
72 changed files with 7258 additions and 918 deletions

View File

@@ -2,12 +2,19 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BasicCharacter : MonoBehaviour
{
public class BasicCharacter : MonoBehaviour {
protected MovementBehaviour _movementBehaviour;
//Kinda not the best but it's fine for now
//TODO: Fix this, (ask teacher)
protected InteractionBehaviour _interactionBehaviour;
public InteractionBehaviour InteractionBehaviour {
get => _interactionBehaviour;
}
// Start is called before the first frame update
protected virtual void Awake()
{
protected virtual void Awake() {
_movementBehaviour = GetComponent<MovementBehaviour>();
_interactionBehaviour = GetComponent<InteractionBehaviour>();
}
}