This Cache Server Client is compatible with the following versions of the Unity Cache Server: 5.6 and earlier may work but are untested.This version of the Cache Server Client is compatible with the following versions of the Unity Editor: Unity -projectPath -ExecuteMethod -batchmode -quit Technical details Requirements The currently configured global Unity Editor setting will be used by default.ģ) Press Upload - for large projects, a progress dialog will display during the upload. Quickly seed a local or remote cache server with the current project's imported assets.ġ) From the Unity Editor toolbar, select Assets -> Cache Server -> Upload All AssetsĢ) Input the destination Cache Server. Implement IDownloadItem to download vai WriteStream to a custom location. Long queueLength = args.DownloadQueueLength Ĭlient.ResetDownloadFinishedEventHandler() // cleanup ![]() Var downloadItem = new FileDownloadItem(fileId, FileType.Asset, filePath) Ĭlient.DownloadFinished += (object sender, DownloadFinishedEventArgs args) => FileDownloadItem implements IDownloadItem Var client = new Client("localhost", 8126) ĭownload a file const string guidStr = "f7950ee725f9d47c7b90b02224b4534f" Var fileId = FileId.From(guidStr, hashStr) To install this package, follow the instructions in the Package Manager documentation. ![]() The Cache Server Client is used to integrate the Unity Cache Server into processes that extend outside of the normal asset import pipeline - for example, to store and retrieve incremental artifacts of a build process. ![]() Use the Cache Server Client to upload and download files to any Unity Cache Server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |