Example #1
0
 public override bool OnKeyInput()
 {
     if (Input.GetKeyDown(KeyCode.Escape))
     {
         LoadTitleScene();
     }
     else if (Input.GetButtonDown(ButtonName._screenshot))
     {
         Define.CaptureScreenshot();
     }
     return(true);
 }