public void SkillSelected(int index) { TestStat improve = TestStat.None; List <TestStat> stats = improvingInvestigator.ImprovableSkills(); for (int i = 0; i < stats.Count; i++) { if (i == index) { improve = stats[i]; } } if (improve == TestStat.None) { Debug.LogError("Error selecting stat"); } else { improvingInvestigator.ImproveStat(improve); GameManager.SingleInstance.App.Controller.queueController.CreateCallBackQueue(StatImproved); // Create Queue GameManager.SingleInstance.App.Model.eventModel.StatImprovedEvent(improvingInvestigator, improve); // Populate Queue GameManager.SingleInstance.App.Controller.queueController.StartCallBackQueue(); // Start Queue } }