Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Resource handling and updating #67

Open
rayzchen opened this issue May 30, 2023 · 1 comment
Open

[FEATURE] Resource handling and updating #67

rayzchen opened this issue May 30, 2023 · 1 comment
Assignees
Labels
OS: Any Occurs on any platform Topic: Module Bugs or enhancements to do with PyUnity code Type: Enhancement New feature or request

Comments

@rayzchen
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently resources are dynamically found and only specific to the default ones provided by PyUnity, however if this is to become a standalone then said resources would be located differently. The current method of project loading only facilitates loading Asset files and doesn't have an interface for other file creations, such as config files or caches.

Describe the solution you'd like
A resource management system extending resources.py that also ties into the Project class.

Describe alternatives you've considered
Something similar to what Unity does, which is to bundle all the assets into a single compressed file that is distributed with the rest of the executable.

Additional context
This could also be useful in a PyUnity editor for when assets are modified, renamed etc. It also needs to take into account any project UUIDs it has to modify.

@rayzchen rayzchen added Type: Enhancement New feature or request Topic: Module Bugs or enhancements to do with PyUnity code OS: Any Occurs on any platform labels May 30, 2023
@rayzchen rayzchen self-assigned this May 30, 2023
@rayzchen
Copy link
Collaborator Author

#73 implemented a resource system to be used by modules but if supplied with Project paths it could work as an asset resolver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS: Any Occurs on any platform Topic: Module Bugs or enhancements to do with PyUnity code Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant