saweliew2w Posted April 26, 2023 Share Posted April 26, 2023 (edited) Please, i need help! In folder Def/UI in the components.def file there are some sprites that are related to UI. Can I specify the path to another sprite if I want to change the UI? For example: def RoyalCourtWindow : UIComponent { class_footer { sprite Marshal = "Assets/UI/element_royalcourt_footer_marshal.json:element_royalcourt_footer_marshal#2" //GUID:12f3ae921fecf544f9bb2ca6e37d0129 } } This option doesn't work, like many others I've tried. What should be the format of the sprite file? I used formats .json and .txt UI game files (Knights of Honor II Sovereign\AssetBundles\ui) use the .png format. It seems these files are used by Unity... My knowledge is now clearly not enough to work with sprites( Edited April 26, 2023 by saweliew2w Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now