IEnumerator DisplayNodesRoutine(Node[] nodes) { //Fire presentation Start EVENT for buttons to listen GLOBAL.instance.M_event.Fire_EVT_Presentation_Start(); yield return(null); GLOBAL.instance.M_event.Fire_EVT_Display_Blackboard("Ready..."); yield return(new WaitForSeconds(1f)); for (int i = 0; i < nodes.Length; i++) { //Display here on the blackboard string textToDisplay = (nodes[i].nodeIndex + 1).ToString(); GLOBAL.instance.M_event.Fire_EVT_Display_Blackboard(textToDisplay); //Changed this for difficulty time to display // yield return new WaitForSeconds(1.0f); yield return(new WaitForSeconds((GLOBAL.instance.M_Difficulty.currentDisplayTime))); GLOBAL.instance.M_event.Fire_EVT_Display_Blackboard("..."); yield return(new WaitForSeconds(0.3f)); } GLOBAL.instance.M_event.Fire_EVT_Display_Blackboard("Your turn"); yield return(new WaitForSeconds(1)); GLOBAL.instance.M_event.Fire_EVT_WaitingForPlayerInput(); yield return(new WaitForSeconds(1)); validatorRef.Activate(nodes); //Fire END presentation EVENT GLOBAL.instance.M_event.Fire_EVT_Presentation_Finished(); }