Jump to content

miguelblefari

Members
  • Posts

    1
  • Joined

  • Last visited

miguelblefari's Achievements

0

Reputation

  1. using unityEngine; public class FPSAnimations : MonoBehaviour; { private animator anim; private FPSMoviment FPSMoviment; void Start() { anim = GetComponent<animator>(); fpsMoviment = GetComponent<FPSMoviment>(); } void Update() { anim.SetFloat("Horizontal", fpsMoviment.inputX); anim.SetFloat("Vertical", fpsMoviment.inputZ); } }
×
×
  • Create New...