예제 #1
0
 public void Update()
 {
     if (Input.GetKeyDown(KeyCode.Alpha1))
     {
         DialogReader.InitScenario("MetalMilitia");
         DialogueBuffer.PushFirst();
     }
     if (Input.GetKeyDown(KeyCode.Alpha2))
     {
         DialogReader.InitScenario("Scenario5");
         DialogueBuffer.PushFirst();
     }
 }
 void Correct()
 {
     print("CORRECT");
     DialogReader.InitScenario("Code");
     text.text = "De code is 1337";
 }