Exemplo n.º 1
0
 private string GetFriendlyAvatarFileName(string type)
 {
     return("Avatar - " + blueprintName.text + " - " + type + " - " + Application.unityVersion + "_" + ApiWorld.VERSION.ApiVersion +
            "_" + ApiModel.GetAssetPlatformString() + "_" + ApiModel.GetServerEnvironmentForApiUrl());
 }
Exemplo n.º 2
0
 private string GetFriendlyWorldFileName(string type)
 {
     return("World - " + blueprintName.text + " - " + type + " - " + Application.unityVersion + "_" + ApiWorld.VERSION.ApiVersion +
            "_" + ApiModel.GetAssetPlatformString() + (IsUsingDevAPI() ? "_dev" : "_release"));
 }
Exemplo n.º 3
0
        protected void PreparePluginPathForS3(string pluginPath, string blueprintId, int version, AssetVersion assetVersion)
        {
            uploadPluginPath = Application.temporaryCachePath + "/" + blueprintId + "_" + version.ToString() + "_" + Application.unityVersion + "_" + assetVersion.ApiVersion + "_" + ApiModel.GetAssetPlatformString() + "_" + ApiModel.GetServerEnvironmentForApiUrl() + ".dll";
            uploadPluginPath.Trim();
            uploadPluginPath.Replace(' ', '_');

            if (System.IO.File.Exists(uploadPluginPath))
            {
                System.IO.File.Delete(uploadPluginPath);
            }

            System.IO.File.Copy(pluginPath, uploadPluginPath);
        }
Exemplo n.º 4
0
        protected void PrepareVRCPathForS3(string abPath, string blueprintId, int version, AssetVersion assetVersion)
        {
            uploadVrcPath = Application.temporaryCachePath + "/" + blueprintId + "_" + version.ToString() + "_" + Application.unityVersion + "_" + assetVersion.ApiVersion + "_" + ApiModel.GetAssetPlatformString() + (IsUsingDevAPI() ? "_dev" : "_release") + System.IO.Path.GetExtension(abPath);
            uploadVrcPath.Trim();
            uploadVrcPath.Replace(' ', '_');

            if (System.IO.File.Exists(uploadVrcPath))
            {
                System.IO.File.Delete(uploadVrcPath);
            }

            System.IO.File.Copy(abPath, uploadVrcPath);
        }