private void Initialize() { spawnPoints = new Vector3[] { new Vector3(0.03f, -2.669f, 0), new Vector3(2f, -2.569f, 0), new Vector3(-2f, -2.569f, 0) }; //Set up the victory event data image.sprite = GameObject.FindGameObjectWithTag("winImage").GetComponent <Image>().sprite; GetComponent <Image>().color = UIManager.levelColor; answer.text = LevelManager.rightAnswer.ToUpper(); cost.text = "+" + LevelManager.completeLvlCoins.ToString(); continueButton.onClick.AddListener(() => StaticBehaviors.OnLevelComplete(LevelManager.GetCurrentState())); MusicManager.instance.PlaySound("finish"); }