private void Start() { rodAttack = GetComponent <FishingRodMove>(); umbrellaAttack = GetComponent <UmbrellaMove>(); fireworkAttack = GetComponent <FireworkMove>(); canToggle = true; }
//private AudioManager am; private void Start() { rodMove = GetComponentInParent <FishingRodMove>(); //am = GameObject.FindGameObjectWithTag("AudioManager").GetComponent<AudioManager>(); }