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
Add UrlReference #391
Add UrlReference #391
Conversation
I have made some progress. There are still a number of issues with the implementation though.
|
…ary fix for the issue with serializing the UrlReference.
I have made some progress. Feature implementation-wise there are still a couple of outstanding issues:
@xen2 and @Kryptos-FR , Some feed back and help about my above questions would be greatly appreciated. |
I guess the appropriate place for documentation in the manual would be on this page: https://github.com/xenko3d/xenko-docs/blob/master/en/manual/game-studio/use-assets.md |
There has been some disagreement between @xen2 , @Kryptos-FR and myself regarding the design of this feature. Mostly about the use of/including |
As discussed in the chat, I was thinking the way to go is probably to:
That way, runtime object contains only string but editor has all info. |
Putting this on hold until @xen2 finishes the discussed refactor/re-architecture of |
This branch is getting a fair bit behind master now. I wonder if it's worth updating. |
What's the status on this? 👀 |
I have not looked at this since @xen2 said he would make some changes. I have no idea what he intended. I did try updating this branch though I didn't check if it compiled/still "works". |
I have updated the branch from master again. I actually built/tested that what I have done so far still "works". |
…lysis class to somewhat handle UrlReference.
I have made some progress but I am not sure if the changes made are desirable. It now:
I have not tested a wide selection of use cases yet. i.e. Currently only tested the |
So I decided another go in a different branch UrlReferenceAlt. I still changed a lot of things as you can see from the commit Excluding unit tests and documentation this pretty much checks all the boxes. However there is an outstanding issue with syncing the editor view with. I have not worked out why it tries to do this conversion.
|
PR Details
This is an attempt to implement #390.
Description
Add new type
UrlReference
and related engine and Game Studio changes.Things to-do:
UrlReference
work. May need to changeAddNewItemCommand
. Or making it soUrlReference
have a default constructor, which I will do if we end-up revmovingAssetId
from it.UrlReference
being treated as a real asset reference so asset gets included in build and things like renaming assets works the same as for existing asset functionality.Related Issue
#390
Motivation and Context
See #390.
Types of changes
Checklist