Demo Build Release Candidate 1

This commit is contained in:
RochesterX
2025-02-09 17:18:51 -05:00
parent 657515cc0d
commit 8a9746eeb5
364 changed files with 10036 additions and 174 deletions

View File

@@ -8,6 +8,8 @@ public class AnimationPlayer : MonoBehaviour
public bool backwards;
public bool block = false;
public AnimationClip clip;
private Animator animator;
@@ -22,6 +24,8 @@ public class AnimationPlayer : MonoBehaviour
{
animator.SetInteger("state", (int)state);
transform.localScale = new Vector3(Mathf.Sign(backwards ? -1 : 1) * Mathf.Abs(transform.localScale.x), transform.localScale.y, transform.localScale.z);
animator.SetBool("block", block);
}
public void SetState(AnimationState state)