AAAA imma figure this out tomorrow

This commit is contained in:
MindfulMinun committed 2022-02-20 23:22:01 -06:00
1 parent 4a942a73fb
commit e2e8b36d02
61 files changed
+1568 -335

No files matched your search

+6 -3
View File
@@ -5,14 +5,17 @@ using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public Movement controller;
float horizontalMove = 0f;
public Animator animator;
public float runSpeed = 40f;
float horizontalMove = 0f;
bool jump = false;
bool crouch = false;
// Update is called once per frame
void Update()
{
void Update() {
animator.SetFloat("Horizontal", Input.GetAxis("Horizontal"));
horizontalMove = Input.GetAxisRaw("Horizontal") * runSpeed;
if (Input.GetButtonDown("Jump"))
{