Class CacheServer used for uploadArtifacts.
using UnityEditor; using UnityEngine;
public class ArtifactUploaderMenu : Editor { [MenuItem("Tools/Test/Upload Artifacts")] private static void UploadArtifacts() { var prefabFileGUIDs = AssetDatabase.FindAssets("t:prefab"); var guids = new GUID[prefabFileGUIDs.Length];
CacheServer.UploadArtifacts(guids); } }
CheckArtifacts | Check existence of aritifacts on cache server with given GUID of the asset. |
DelayUpload | Queues specified assets for upload to the CacheServer while providing precise control over upload timing behavior. |
DeleteArtifacts | Delete aritifacts from cache server with given GUID of the asset. |
UploadArtifacts | Upload the specified GUIDs to the CacheServer. If keys is empty, all assets are uploaded. |
UploadReference | Upload the asset dependency map of the entire project to cache server. |
UploadShaderCache | Asynchronously uploads the contents of the Shader Cache to the Accelerator. |
UploadSourceIncremental | Upload source info to cache server incrementally. |
UploadSources | Upload source info to cache server with given GUID of the asset. |