// Use this for initialization void Start() { // create our dot pool int dotPoolSize = boardCoordinateSpace.columns * boardCoordinateSpace.rows * 2; dotPool = new ObjectPool(dotPrefab, dotPoolSize); // scales the dots to match the screen ratio float dotScaleFactor = boardCoordinateSpace.GetDotScaleFactor(); List <GameObject> dotObjects = dotPool.GetPoolObjects(); for (int i = 0; i < dotObjects.Count; i++) { DotController dot = dotObjects[i].GetComponent <DotController>(); dot.SetScaleFactor(dotScaleFactor); } }