示例#1
0
 private void UpdateBreadcrumb()
 {
     //Checks to see if the PDA has a registered name, if it does make that the Desktop name
     if (controller.PDA.RegisteredPlayerName != null)
     {
         string editedString = controller.PDA.RegisteredPlayerName.Replace(" ", "_");
         controller.SetBreadcrumb($"/home/{editedString}/Desktop");
     }
     else
     {
         controller.SetBreadcrumb("/home/Guest/Desktop");
     }
 }
 public void OnPageActivated()
 {
     controller.SetBreadcrumb("/bin/manifest.sh");
     GenerateEntries();
 }
        private bool clickedRecently;         // a simple variable to make sure the PDA asks the player to confirm the reset

        public void OnPageActivated()
        {
            controller.SetBreadcrumb("/bin/settings.sh");
        }
示例#4
0
 public void OnPageActivated()
 {
     controller.SetBreadcrumb("/bin/notes.sh");
     controller.PlayDenyTone();
 }
示例#5
0
 public void OnPageActivated()
 {
     mainController.SetBreadcrumb(ROOT_DIRECTORY);
     UpdateTCCounter();
     OpenSubPage(categoryPage);
 }