Jump to content

UI change

Recommended Posts

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
        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 by saweliew2w
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.