Exemplo n.º 1
0
 public static String CreateModuleBundleFilename(AssetManagerUtil.AvailablePlatform buildTarget, Boolean isCompressed, AssetManagerUtil.ModuleBundle moduleBundle)
 {
     return(String.Format("{0}{1}{2}{3}", new Object[]
     {
         AssetManagerUtil.GetPlatformPrefix(buildTarget),
         AssetManagerUtil.GetCompressionPrefix(isCompressed),
         AssetManagerUtil.GetModuleBundleName(moduleBundle),
         AssetManagerUtil.GetBundleExtension()
     }));
 }
Exemplo n.º 2
0
 public static String GetPlatformPrefix(AssetManagerUtil.AvailablePlatform platform)
 {
     if (platform == AssetManagerUtil.AvailablePlatform.StandaloneWindows)
     {
         return("p");
     }
     if (platform == AssetManagerUtil.AvailablePlatform.iOS)
     {
         return("i");
     }
     if (platform == AssetManagerUtil.AvailablePlatform.Android)
     {
         return("a");
     }
     if (platform == AssetManagerUtil.AvailablePlatform.aaaa)
     {
         return("v");
     }
     global::Debug.LogWarning("AssetManagerUtil::GetPlatformPrefix::Unknown platform.");
     return(String.Empty);
 }
Exemplo n.º 3
0
 public static String CreateObbBundleFilename(AssetManagerUtil.AvailablePlatform buildTarget)
 {
     return(String.Format("{0}{1}{2}", AssetManagerUtil.GetPlatformPrefix(buildTarget), "OBB", AssetManagerUtil.GetBundleExtension()));
 }