void FillLists(Sprite[] faceArray, string[] emotionArray, string[] reasonArray) { // Fill the faces list for (int i = 0; i < faceArray.Length; i++) { Faces newFace = new Faces(); newFace.Initialize(faceArray[i], i); faces.Add(newFace); } // Fill the emotions List for (int i = 0; i < emotionArray.Length; i++) { Emotions newEmotion = new Emotions(); newEmotion.Initialize(emotionArray[i], i); emotions.Add(newEmotion); } // Fill the reasons List for (int i = 0; i < reasonArray.Length; i++) { Reasons newReason = new Reasons(); newReason.Initialize(reasonArray[i], i); reasons.Add(newReason); } }