private void Awake() { if (playerHitBoxControllerInstance == null) { playerHitBoxControllerInstance = this; } }
protected override void Awake() { base.Awake(); _blackboard = GetComponent <PlayerBlackboard>(); _cameraManager = GetComponent <CameraManager>(); _hitbox = GetComponentInChildren <HitBox>(); _hitboxController = GetComponent <PlayerHitboxController>(); }