예제 #1
0
 public string GetFileUrl(string relativePath)
 {
     if (manifestLoader == null)
     {
         Debug.LogWarning($"A file URL was requested for {relativePath} but the manifest has not been instantiated.");
         return("");
     }
     if (manifestLoader.IsLoaded())
     {
         return(manifestLoader.GetManifest().TranslateFileUrl(relativePath));
     }
     Debug.LogWarning($"A file URL was requested for {relativePath}, but the manifest is not ready.");
     return("");
 }