private void Start() { levelController = FindObjectOfType <LevelController>(); levelPopup = FindObjectOfType <LevelPopup>(); left = GameObject.Find("Left"); right = GameObject.Find("Right"); levelSelectPanel = transform; for (int i = 0; i < levelController.levels.Count; i++) { levelList.Add(levelUI); } BuildLevelPage(0); }