Example #1
0
 private static void ChooseFailureOption(string urdfFilePath)
 {
     if (!RuntimeUrdf.EditorUtility_DisplayDialog(
             "Urdf Importer: Missing Asset",
             "Missing asset " + Path.GetFileName(urdfFilePath) +
             " was ignored or could not be found.\n\nContinue URDF Import?",
             "Yes",
             "No"))
     {
         throw new InterruptedUrdfImportException("User cancelled URDF import. Model may be incomplete.");
     }
 }