Skip to content

Conversation

@homuler
Copy link
Owner

@homuler homuler commented Jun 30, 2024

I implemented ResourceUtil and replaced ResourceManager base class with it.
Now we don't need to inherit ResourceManager to use resources located in custom places.

For example, if the required resource is already saved locally, then

ResourceUtil.EnableCustomResolver();

ResourceUtil.AddAssetPath("model.bytes", "/path/to/model.bytes");

would work.

close #1077.

@homuler homuler self-assigned this Jun 30, 2024
@homuler homuler merged commit 741dc4a into master Jun 30, 2024
@homuler homuler deleted the refactor/resource-manager branch June 30, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an model source dropdown option for using Application.persistentDataPath

2 participants