small fixes

This commit is contained in:
2023-06-29 13:24:21 +03:00
parent 7510e69eb8
commit e8b52c1062
10 changed files with 116 additions and 90 deletions
+1 -4
View File
@@ -76,10 +76,7 @@ public class Player : Character
_animator.SetTrigger("Body_ThrowHammer");
}
}
if (Input.GetAxisRaw("Horizontal") != 0 || Input.GetAxisRaw("Vertical") != 0)
{
base.MoveTo(Input.GetAxisRaw("Horizontal"), Input.GetAxisRaw("Vertical"));
}
base.MoveTo(Input.GetAxisRaw("Horizontal"), Input.GetAxisRaw("Vertical"));
}
public void ThrowHammerObject()