// Start is called before the first frame update void Start() { pauseMenu = FindObjectOfType <PauseTest>(); soundEffect = GetComponent <AudioSource>(); childQueue = FindObjectOfType <ChildQueue>(); }
private ChildQueue manager; //Stores the manager for the game // Start is called before the first frame update void Awake() { manager = FindObjectOfType <ChildQueue>(); }