public void NextInstruction() { int currentState = (int)instructionState; currentState++; instructionState = (InstructionsState)currentState; InstructionExecution(); }
public void StartTutorial(TouchCamera tc, ServerTeam team) { TCamera = tc; TCamera.enabled = false; m_team = team; instructionState = InstructionsState.confirmIfInstructionsNeeded; InstructionExecution(); //if (LoadEncodedFile() == textToWrite) //{ // StopInstructions(); //} //else //{ // Debug.Log("No File Founded"); // instructionState = InstructionsState.confirmIfInstructionsNeeded; // InstructionExecution(); //} }