//This method gets called when the Plat Button is pressed public void CompileInstructions() { player.SetToPosition(player.GetInitialPosition()); player.SetToRotation(player.GetInitialRotation()); scrollbar.value = 1f; //go to the top of the editor i.e to the first instruction DisableButtons(); slotManager.ExecuteInstructions(instructionDelay); //execute all instructions with visual delay after every instruction }