About Store Forum Documentation Contact



Post Reply 
GuiCustom when loading GuiObjs
Author Message
Houge Offline
Member

Post: #1
GuiCustom when loading GuiObjs
Hi,

is there a way to specify two or more different classes when I do replaceCustom<>()? I have a Gui with different custom classes, but they all are inherited from GuiCustom.
05-26-2019 07:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: GuiCustom when loading GuiObjs
Hi,

You can solve it by adding some custom tag to the object name in the gui editor ex. "name #class1"

then when parsing objects from GuiObjs move the objects that have "#class1" in their name into a separate container with your custom class.
05-29-2019 06:12 AM
Find all posts by this user Quote this message in a reply
Houge Offline
Member

Post: #3
RE: GuiCustom when loading GuiObjs
I didn't think about that, thanks, that works!
06-01-2019 07:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply