Beispiel #1
0
 // Update is called once per frame
 void Update()
 {
     anim.SetFloat("Speed", walkMechanics.getCurrentSpeedRatio());
     anim.SetBool("isGrabbing", grabMechanics.getIsGrabbing());
     anim.SetBool("isClimbing", climbMechanics.getIsClimbing());
 }
Beispiel #2
0
 // Update is called once per frame
 void Update()
 {
     anim.SetFloat("Speed", walkMechanics.getCurrentSpeedRatio());
 }