public void selectRequestOn(int charMNum) { mapArray.setMapPlayerChoice(charMNum); mapPanel.SetActive(true); namePanel.GetComponent <Text>().text = mapNames[charMNum]; descPanel.GetComponent <Text>().text = mapDesc[charMNum]; imagePanel.GetComponent <Image>().sprite = mapArray.mapImages[charMNum]; }