コード例 #1
0
 private void Awake()
 {
     if (playerHitBoxControllerInstance == null)
     {
         playerHitBoxControllerInstance = this;
     }
 }
コード例 #2
0
 protected override void Awake()
 {
     base.Awake();
     _blackboard       = GetComponent <PlayerBlackboard>();
     _cameraManager    = GetComponent <CameraManager>();
     _hitbox           = GetComponentInChildren <HitBox>();
     _hitboxController = GetComponent <PlayerHitboxController>();
 }