Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

2 Screenshots

  • 368
  • 21
  • 7.53 kB

About Rust UI Helper

This plugin is a library plugin used for those exporting UI with Rust UI Tool - Unity Exporter. You could feel free to use this even if you are not using the exporter, but its main purpose is to be used with the exporter.


Features

Create Panels, Images, Labels, Buttons, and Input Fields

 

Installation

Download the file, drag and drop it in plugins folder after installing oxide.

 

How to access this library from other files:

At the very top of your plugin file, above the using's put the following.

//Requires: RustUIHelper

 

For those that wanna use this as a library, this is the parameters:

RustUIHelper.Instance.AddPanel(CuiElementContainer container, string name = "", string parent = "Overlay", string color = "1 1 1 1", string anchor = "0 0|0 0", string offset = "0 0|0 0", bool cursor = false, int fadeOut = 0, int fadeIn = 0, string sprite = "", string material = "")

RustUIHelper.Instance.AddLabel(CuiElementContainer container, string name = "", string parent = "Overlay", string text = "", int fontSize = 20, string color = "1 1 1 1", string anchor = "0 0|0 0", string offset = "0 0|0 0", int fadeOut = 0, int fadeIn = 0, int alignment = 0, string font = "robotocondensed-bold.ttf", string outlineColor = "0 0 0 0", string outlineDistance = "0 0")

RustUIHelper.Instance.AddImage(CuiElementContainer container, string name = "", string parent = "Overlay", string color = "1 1 1 1", string anchor = "0 0|0 0", string offset = "0 0|0 0", int fadeOut = 0, int fadeIn = 0, string sprite = "assets/content/textures/generic/fulltransparent.tga", string material = "", string url = "")

RustUIHelper.Instance.AddButton(CuiElementContainer container, string name = "", string parent = "Overlay", string buttonColor = "1 1 1 1", string textColor = "1 1 1 1", string anchor = "0 0|0 0", string offset = "0 0|0 0", int fadeOut = 0, int fadeIn = 0, string buttonText = "", int fontSize = 20, int alignment = 0, string font = "robotocondensed-bold.ttf", string sprite = "assets/content/textures/generic/fulltransparent.tga", string material = "", string buttonCommand = "")

RustUIHelper.Instance.AddInputField(CuiElementContainer container, string name = "", string parent = "Overlay", string anchor = "0 0|0 0", string offset = "0 0|0 0", int fadeOut = 0, int fadeIn = 0, int fontSize = 20, string color = "1 1 1 1", bool isPassword = false, int charLimit = 30, int alignment = 0, string font = "robotocondensed-bold.ttf", string command = "")

 

All other information can be found on the Rust UI Tool's product page 🙂

 

Feel free to add me on discord if you have any questions:

Travis Butts#7706


Travis Butts's Other Downloads


User Feedback

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

2,585 files sold to 298 customers and $35,723 of payments processed this year!

×
×
  • 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.