// Start is called before the first frame update void Start() { boxGenerator = FindObjectOfType <BoxGenerator>(); boxGenerator.instantiatePool(numsOfBoxes); //startGame(); }