mirror of
https://github.com/frizbee19/FebGameJam.git
synced 2026-11-11 04:22:40 +00:00
Merge remote-tracking branch 'origin/main' into beni
This commit is contained in:
92 files changed
+3537
-107
No files matched your search
@@ -40,7 +40,9 @@ public class PlayerMovement : MonoBehaviour {
|
||||
if (Movement.pause) {
|
||||
animator.SetFloat("Horizontal", 0);
|
||||
} else if (animator != null) {
|
||||
animator.SetFloat("Horizontal", Input.GetAxis("Horizontal"));
|
||||
if(controller.m_Grounded) {
|
||||
animator.SetFloat("Horizontal", Input.GetAxis("Horizontal"));
|
||||
}
|
||||
animator.SetBool("Airborne", !controller.m_Grounded);
|
||||
if (healthBarAnimator != null) {
|
||||
healthBarAnimator.SetInteger("Health", health.currentHealth);
|
||||
|
||||
Reference in new issue
Block a user