void Start() { aimAndShoot = GameObject.Find("Player").GetComponent <AimandShoot>(); audioSource = this.GetComponent <AudioSource>(); timer = 0f; }
private void Start() { player = GetComponent <Animator>(); dead = GetComponentInChildren <CanvasGroup>(); aim = GetComponent <AimandShoot>(); }