using System.Collections; using System.Collections.Generic; using UnityEngine; public class BasicCharacter : MonoBehaviour { protected MovementBehaviour _movementBehaviour; protected InteractionBehaviour _interactionBehaviour; public InteractionBehaviour InteractionBehaviour { get => _interactionBehaviour; } // Start is called before the first frame update protected virtual void Awake() { _movementBehaviour = GetComponent(); _interactionBehaviour = GetComponent(); } }