// Use this for initialization void Start() { animator = GetComponent <Animator>(); animatorState = animator.GetCurrentAnimatorStateInfo(0); weapon = GetComponentInChildren <WeaponColliderBasic>(); AttackReseter = StartCoroutine(AttackReset()); audioSource = GetComponent <AudioSource>(); playerMove = GetComponent <PlayerMove>(); playerHP = GetComponent <PlayerHP>(); }
// Use this for initialization void Start() { weapon = GetComponentInChildren <WeaponColliderBasic>(); weaponTrail = GetComponentInChildren <MeleeWeaponTrail>(); }