Files
TheAuction-GS/Assets/Player/BasicCharacter.cs

18 lines
564 B
C#

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<MovementBehaviour>();
_interactionBehaviour = GetComponent<InteractionBehaviour>();
}
}