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