private void adjustTargets() { for (int i = 0; i < entityList.Count; i++) { if (entityList[i] != null) { aiController = entityList[i].GetComponent <BasicEntityController>(); aiController.targetLocationNum(Random.Range(0, 3)); } } }