Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history


# Conflicts:
#	DarkFlow/Assets/Characters/2_Erika/Erika.prefab
#	DarkFlow/Assets/Scenes/Gameplay.unity
#	DarkFlow/Assets/Scripts/InputSystem/ThirdPersonController.cs
  • Loading branch information
GraphicEdit committed Dec 26, 2023
2 parents f0f10fc + 0b6b3e4 commit a903dee
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion DarkFlow/Assets/Scripts/InputSystem/ThirdPersonController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,15 @@ private void Start()
{

_cinemachineTargetYaw = CinemachineCameraTarget.transform.rotation.eulerAngles.y;

_hasAnimator = TryGetComponent(out _animator);
_controller = GetComponent<CharacterController>();
_input = GetComponent<StarterAssetsInputs>();
#if ENABLE_INPUT_SYSTEM
_playerInput = GetComponent<PlayerInput>();
#else
Debug.LogError( "Starter Assets package is missing dependencies. Please use Tools/Starter Assets/Reinstall Dependencies to fix it");
#endif

AssignAnimationIDs();

Expand Down Expand Up @@ -412,4 +418,4 @@ private void OnLand(AnimationEvent animationEvent)
}
}
}
}
}

0 comments on commit a903dee

Please sign in to comment.