Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Anim nameHash help needed!

$
0
0
I cant get this to work.:
Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3. // Getting components
  4. [RequireComponent(typeof (Animator))]
  5.  
  6. public class CharacterMotor : MonoBehaviour
  7. {
  8.     public Animator anim;
  9.     public int SpeedFloat;
  10.     public int JumpBool;
  11.     public int DirectionFloat;
  12.     public int IdleState;
  13.     public int LocoState;
  14.     public int JumpState;
  15.     public int BackState;
  16.     private AnimatorStateInfo currentBaseState;  
  17.  
  18.  
  19.  
  20.     void Awake()
  21.     {
  22.         SpeedFloat...
Anim nameHash help needed!

Viewing all articles
Browse latest Browse all 1466670

Trending Articles