• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.
CustomTabUI

Plugins + Scripts CustomTabUI

Download [<1 MB]
Man thats genious! I did not realise how this works. Am I stupid or does your plugin lack some instructions on how to use? :rolleyes:
There's a good chance the introduction page for my resource is pretty unfriendly. I'm generally not the most welcoming type, lol. :p

Additionally, You can save code by using it as follows.
1.
Text txt = ui01.uid.transform.Find("Label").GetComponent<Text>();
txt.alignment = TextAnchor.MiddleLeft;

to
ui01.setTextAlign(TextAnchor.MiddleLeft);
2. Not all CustomUI.addSpacer calls are necessary.
have a nice day !!!
 
Last edited:
Errors:
!> [CS103]: The name `UIUtil' does not exist in the current context in CustomLayoutUI.cs
So where can I find this : UIUtil?
 
Errors:
!> [CS103]: The name `UIUtil' does not exist in the current context in CustomLayoutUI.cs
So where can I find this : UIUtil?
You’ll find UIUtil class defined within CustomUI.cs.
What task were you performing when the error occurred?
 
What task were you performing when the error occurred?
Nothing special – I just wanted to use CustomTabUI and CustomLayoutUI for my plugin.
I fed these two files into the neural network – but two problems cropped up straight away:
1 – I can’t integrate your code directly into my script; I have to duplicate the files and place them alongside my script to use them as external libraries (or is there a way to reference libraries packaged in var files?)
2 – I couldn’t find the library (UIUtil) mentioned above
 
Nothing special – I just wanted to use CustomTabUI and CustomLayoutUI for my plugin.
I fed these two files into the neural network – but two problems cropped up straight away:
1 – I can’t integrate your code directly into my script; I have to duplicate the files and place them alongside my script to use them as external libraries (or is there a way to reference libraries packaged in var files?)
2 – I couldn’t find the library (UIUtil) mentioned above
1. In a .cslist file, you can define and use external .cs files like this:
14mhz.CustomUI.10:/Custom/Scripts/14mhz/CustomUI/CustomUI.cs
2. Around line 4,111 in CustomUI.cs you can find the declaration of [public class UIUtil]
C#:
public class UIUtil
{
    public static String PATH
.
.
.
}
 
Last edited:
14mhz.CustomUI.10:/Custom/Scripts/14mhz/CustomUI/CustomUI.cs
Yes! Thanks! It worked.
Sorry for asking a question that's not exactly related to your plugin—but I just can't seem to figure out how to fix the dropdown menu issue:

2026-05-02_220031.jpg

Is there any way to fix the rendering of this menu?
 
If the slider name is too long,
undefined
> Compile of Custom/Scripts/VL_13/MorphTagTemplates/MorphTagTemplates.cslist failed. Errors:
!> [CS1061]: Type `CustomUI14mhz.BaseSliderSimpleUI' does not contain a definition for `setLabelText' and no extension method `setLabelText' of type `CustomUI14mhz.BaseSliderSimpleUI' could be found. Are you missing an assembly reference? in <Unknown> at [309, 21]
--
Quote from Gemini:
"This code snippet was written by the author 14mhz—from one of his internal or updated builds. In the version of the plugin that you have (and that most VaM users have), these handy commands (setLabelText, setLabelTextWeight) simply don’t exist. That’s why the compiler is throwing an error." 😅
my version plugin = CustomUI.8, CustomTabUI.9, CustomLayoutUI.5
 
Yes! Thanks! It worked.
Sorry for asking a question that's not exactly related to your plugin—but I just can't seem to figure out how to fix the dropdown menu issue:

View attachment 588038
Is there any way to fix the rendering of this menu?
That issue has already been resolved in CustomUI v0.8. Please download the latest version from the link below:
 
> Compile of Custom/Scripts/VL_13/MorphTagTemplates/MorphTagTemplates.cslist failed. Errors:
!> [CS1061]: Type `CustomUI14mhz.BaseSliderSimpleUI' does not contain a definition for `setLabelText' and no extension method `setLabelText' of type `CustomUI14mhz.BaseSliderSimpleUI' could be found. Are you missing an assembly reference? in <Unknown> at [309, 21]
--
Quote from Gemini:
"This code snippet was written by the author 14mhz—from one of his internal or updated builds. In the version of the plugin that you have (and that most VaM users have), these handy commands (setLabelText, setLabelTextWeight) simply don’t exist. That’s why the compiler is throwing an error." 😅
my version plugin = CustomUI.8, CustomTabUI.9, CustomLayoutUI.5
BaseSliderSimpleUI.setLabelText() does not exist in CustomUI.cs.
To change the text of a Label, you should use BaseSliderSimpleUI.setLabel("text"); instead.
 
Last edited:
Back
Top Bottom