Exemplo n.º 1
0
 void Update()
 {
     m_JumpCooltime -= Time.deltaTime;
     m_NetworkAnimator.SetFloat("speed_x", Mathf.Abs(rigidbody2D.velocity.x));
     m_NetworkAnimator.SetFloat("velocity_y", rigidbody2D.velocity.y);
 }