Filtering DaggerfallExteriorAutomapWindow nameplates
- pango
- Posts: 3359
- Joined: Wed Jul 18, 2018 6:14 pm
- Location: France
- Contact:
Re: Filtering DaggerfallExteriorAutomapWindow nameplates
.meta files are part of all Unity projects.
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
-
- Posts: 1409
- Joined: Mon Aug 12, 2019 4:32 pm
- Contact:
Re: Filtering DaggerfallExteriorAutomapWindow nameplates
Thanks for sharing the code. It gave me some ideas.
One question for anyone who may know. Once you add a object, say a label, to a panel ui, say the inventory, is there an easy way to remove it/clear out the panel?
I'm trying to update a label, but everytime I do, it just adds the new one on top of the old one, since the panel hasn't ben cleared.
One question for anyone who may know. Once you add a object, say a label, to a panel ui, say the inventory, is there an easy way to remove it/clear out the panel?
I'm trying to update a label, but everytime I do, it just adds the new one on top of the old one, since the panel hasn't ben cleared.
My Daggerfall Mod Github: l3lessed DFU Mod Github
My Beth Mods: l3lessed Nexus Page
Daggerfall Unity mods: Combat Overhaul Mod
Enjoy the free work I'm doing? Consider lending your support.
My Beth Mods: l3lessed Nexus Page
Daggerfall Unity mods: Combat Overhaul Mod
Enjoy the free work I'm doing? Consider lending your support.
-
- Posts: 1409
- Joined: Mon Aug 12, 2019 4:32 pm
- Contact:
Re: Filtering DaggerfallExteriorAutomapWindow nameplates
Found my solution digging around in the methods.
Code: Select all
if(uicomponent != null)
DaggerfallUI.Instance.InventoryWindow.NativePanel.Components.Remove(uicomponent);
My Daggerfall Mod Github: l3lessed DFU Mod Github
My Beth Mods: l3lessed Nexus Page
Daggerfall Unity mods: Combat Overhaul Mod
Enjoy the free work I'm doing? Consider lending your support.
My Beth Mods: l3lessed Nexus Page
Daggerfall Unity mods: Combat Overhaul Mod
Enjoy the free work I'm doing? Consider lending your support.
- TheLacus
- Posts: 1305
- Joined: Wed Sep 14, 2016 6:22 pm
Re: Filtering DaggerfallExteriorAutomapWindow nameplates
TextLabel class is mutable, you can edit your current instance directly instead of creating a new one.
Please open a new topic if you need further help with a specific issue.