コード例 #1
0
 private string GetFriendlyAvatarFileName(string type)
 {
     return("Avatar - " + blueprintName.text + " - " + type + " - " + Application.unityVersion + "_" + ApiWorld.VERSION.ApiVersion +
            "_" + ApiModel.GetAssetPlatformString() + "_" + ApiModel.GetServerEnvironmentForApiUrl());
 }
コード例 #2
0
 private string GetFriendlyWorldFileName(string type)
 {
     return("World - " + blueprintName.text + " - " + type + " - " + Application.unityVersion + "_" + ApiWorld.VERSION.ApiVersion +
            "_" + ApiModel.GetAssetPlatformString() + (IsUsingDevAPI() ? "_dev" : "_release"));
 }
コード例 #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);
        }
コード例 #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);
        }