8000 GitHub - owlengineer/Unity-Asset-Cache: JetBrains internship task
[go: up one dir, main page]

Skip to content

owlengineer/Unity-Asset-Cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IAssetCache

Description

This repository contains the solution of the task for internship from JetBrains.

Demonstration

Testing Build(...) and Merge(...) methods

Expand!
The main problem here - dealing with interruptions and unexpected changes in file between interruptions.

If there is no changes between interruptions - program will continue the uploading. It provides NOT to lose progress in this case:

If chages happened - the progress resets and uploading begins from the start:


Testing the API

Expand!
After successful completion of Build and Merge methods you are available to use API.
GetLocalAnchorUsages(...) method:

GetGuidUsages(...) method:

GetComponentsFor(...) method:


Note: all tests here were launched on default sample from the original task.

Results: every method from API working on default sample LESS than 1 ms.

Run

On ubuntu:

git clone https://github.com/DarkFlink/Unity-Asset-Cache.git
cd ./Unity-Asset-Cache
dotnet build

Run for default sample (~170mb) from google drive:

./bin/Debug/netcoreapp3.1/IAssetCache_JB

Run for another sample:

./bin/Debug/netcoreapp3.1/IAssetCache_JB -p ./relative/path/to/your/.unity/asset

About

JetBrains internship task

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0