Exemplo n.º 1
0
 public void SaveFromShortcut()
 {
     if (HasCurrentBeenSaved())
     {
         userMain.AddDebugMessage("Project saved!");
         if (!IsOpen())
         {
             string existingBundleId = GetActiveBundleId();
             if (existingBundleId != null)
             {
                 GameBundle bundle = gameBundleLibrary.GetBundle(existingBundleId);
                 saveUI.nameInput.text        = bundle.GetMetadata().name;
                 saveUI.descriptionInput.text = bundle.GetMetadata().description;
                 currentSaveImage             = bundle.GetThumbnail();
             }
         }
         SaveOverwrite();
     }
     else
     {
         Open();
     }
 }
Exemplo n.º 2
0
 public void AddDebugMessage(string s)
 {
     userMain.AddDebugMessage(s);
 }