void Start() { mainscr = GetComponent <WarriorMainScript> (); animator = GetComponent <Animator> (); audioSource = GetComponent <AudioSource> (); }
void Start() { an = GetComponent <Animator> (); wars = GetComponentInParent <WarriorMainScript> (); }