- Home /
Writing UXML and USS with Package Support
In all the new UIElements discussions there is this constant issuance of referencing a UXML or USS file by a direct path including the "Assets" directory. Which may work great while you're developing a very specific layout for your game. But if you're building a package, that path is valid during development, but when it's absorbed, it would fall under the "Packages" directory, not "Assets". I'm actually not sure if you're able to search for the file using AssetDatabase as I don't know if AssetDatabase extends to searching the Packages directory. So how is this system meant to be used with packages?
Your answer
Follow this Question
Related Questions
How do I get the default scene GUI for a CustomEditor for RectTransform? 1 Answer
How to avoid 2019.3 FBX Import missing Inspector UI? 1 Answer
How can I see the size of a UI element in the editor? 1 Answer
EditorGUI add SortingLayer-like list to custom Editor 1 Answer
Is there an event being fired off when the Inspector is being resized? 1 Answer