• 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
In a .cslist file, you can define and use external .cs files like this:

14mhz.CustomUI.10:/Custom/Scripts/14mhz/CustomUI/CustomUI.cs
 
Back
Top Bottom