// Use this for initialization void Start() { anim = gameObject.GetComponent <Animator>(); swordCollider = transform.GetComponentInChildren <SwordCollideDetector>(); attack1Button = new Command_Input.Attack_1(this); currentState = Player.State.Idle; }
// Use this for initialization void Start() { anim = gameObject.GetComponent<Animator>(); swordCollider = transform.GetComponentInChildren<SwordCollideDetector>(); attack1Button = new Command_Input.Attack_1(this); currentState = Player.State.Idle; }