From 2c6614a90c8f415e03ae5067eeacda0ed6f82eae Mon Sep 17 00:00:00 2001
From: miepzerino <o.skotnik@gmail.com>
Date: Thu, 14 Dec 2023 21:18:05 +0000
Subject: [PATCH] Added Tilesets and palettes
---
Assets/Scripts/PlayerController.cs | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/Assets/Scripts/PlayerController.cs b/Assets/Scripts/PlayerController.cs
index 8004533..3381b36 100644
--- a/Assets/Scripts/PlayerController.cs
+++ b/Assets/Scripts/PlayerController.cs
@@ -18,7 +18,7 @@
private set
{
_isMoving = value;
- animator.SetBool("IsMoving", value);
+ animator.SetBool(AnimationStrings.Player.IsMoving, value);
}
}
@@ -30,7 +30,7 @@
private set
{
_isFlying = value;
- animator.SetBool("IsFlying", value);
+ animator.SetBool(AnimationStrings.Player.IsFlying, value);
rotorSprite.enabled = value;
}
}
@@ -75,8 +75,6 @@
private void FixedUpdate()
{
-
- Debug.Log(moveInput.x);
if (moveInput.y == 0)
{
if (rb.velocity.y <= maxFallSpeed)
--
Gitblit v1.10.0