//public void playIdle() //{ // animator.SetTrigger(idle); //} // Use this for initialization void Awake() { mPKey = KeyCode.A; vel = Vector2.zero; animation = GetComponentInChildren <AnimationBoard>(); }
//public void playIdle() //{ // animator.SetTrigger(idle); //} // Use this for initialization void Awake() { mPKey = KeyCode.A; vel = Vector2.zero; animation = GetComponentInChildren<AnimationBoard>(); }