You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add asset-derive support to Struct data types as well instead of only enums.
Idea
I realized with the trait addition #4 , it made having struct's being asset's themselves quite simple.
Simply derive the Asset trait on it and the struct itself will have its own filename and asset to fetch.
It is limitted to just one asset (unless we do fields in the future too) but it wouldn't be restricting to just enums.
The text was updated successfully, but these errors were encountered:
Summary
Add asset-derive support to Struct data types as well instead of only enums.
Idea
I realized with the trait addition #4 , it made having struct's being asset's themselves quite simple.
Simply derive the
Asset
trait on it and the struct itself will have its own filename and asset to fetch.It is limitted to just one asset (unless we do fields in the future too) but it wouldn't be restricting to just enums.
The text was updated successfully, but these errors were encountered: