Created throw hammer animation with no hammer skinning

This commit is contained in:
2023-06-29 12:47:09 +03:00
parent da82aa478c
commit 7510e69eb8
16 changed files with 12649 additions and 2843 deletions
+3 -3
View File
@@ -3,7 +3,7 @@ using UnityEngine;
public class Character : MonoBehaviour
{
[SerializeField]
private Animator animator;
protected Animator _animator;
[SerializeField]
private float MovementSpeed = 1.5f;
[SerializeField]
@@ -65,7 +65,7 @@ public class Character : MonoBehaviour
FlipCharacter();
}
animator.SetBool("Walk", h_movement != 0);
//animator.SetBool("Walk", h_movement != 0);
_isOnLadder = mapElement == MapElementType.Ladder || GetMapElement(Vector2.up) == MapElementType.Ladder;
if (_isOnLadder)
@@ -119,7 +119,7 @@ public class Character : MonoBehaviour
if (_isFalling)
{
_body.velocity = new Vector2(0, _body.velocity.y);
animator.SetBool("Walk", false);
//animator.SetBool("Walk", false);
if (GetMapElement(Vector2.down)==MapElementType.Ladder)
{