All Projects → fuqunaga → Rapidgui

fuqunaga / Rapidgui

Licence: mit
Unity OnGUI(IMGUI) extensions for Rapid prototyping/development

Projects that are alternatives of or similar to Rapidgui

Kondo
Save disk space by cleaning non-essential files from software projects.
Stars: ✭ 373 (+159.03%)
Mutual labels:  unity, unity3d, gui
Ugui Mvvm
Unity3D uGUI mvvm databinding via the standard IXChanged interfaces used in wpf (INotifyPropertyChanged, INotifyCollectionChanged, etc)
Stars: ✭ 169 (+17.36%)
Mutual labels:  unity, unity3d, gui
Kinotube
An image effect simulating analog video artifacts in Unity.
Stars: ✭ 142 (-1.39%)
Mutual labels:  unity, unity3d
Imgui
Immediate Mode GUI for C#
Stars: ✭ 133 (-7.64%)
Mutual labels:  gui, imgui
Uicard
Generic UI for card games like Hearthstone, Magic Arena and Slay the Spire...
Stars: ✭ 142 (-1.39%)
Mutual labels:  unity, unity3d
Unium
Automation for Unity games
Stars: ✭ 132 (-8.33%)
Mutual labels:  unity, unity3d
Textureupdateexample
An example showing how to update textures from a native plugin in Unity.
Stars: ✭ 133 (-7.64%)
Mutual labels:  unity, unity3d
Texturegenerator
3D and 2D Texture generation using the compute shaders within the Unity engine.
Stars: ✭ 142 (-1.39%)
Mutual labels:  unity, unity3d
Rcam
Real time volumetric video capture for live visuals
Stars: ✭ 128 (-11.11%)
Mutual labels:  unity, unity3d
Eazy Sound Manager
Eazy Sound Manager is a simple Unity3D tool which aims to make sound and music management in games easier
Stars: ✭ 135 (-6.25%)
Mutual labels:  unity, unity3d
Ml Agents
Unity Machine Learning Agents Toolkit
Stars: ✭ 12,134 (+8326.39%)
Mutual labels:  unity, unity3d
Unitylauncher
Unity Version Launcher
Stars: ✭ 137 (-4.86%)
Mutual labels:  unity, unity3d
Customsrp
Many mini-custom-SRPs showing how to achieve different things when creating your own SRP. Only SRP Core package is needed.
Stars: ✭ 132 (-8.33%)
Mutual labels:  unity, unity3d
Node editor framework
A flexible and modular Node Editor Framework for creating node based displays and editors in Unity
Stars: ✭ 1,751 (+1115.97%)
Mutual labels:  unity, imgui
Bimpy
imgui for python
Stars: ✭ 144 (+0%)
Mutual labels:  gui, imgui
Unity Linesegmentsintersection
Line segments intersection for Unity.
Stars: ✭ 128 (-11.11%)
Mutual labels:  unity, unity3d
Imgui sdl
ImGuiSDL: SDL2 based renderer for Dear ImGui
Stars: ✭ 134 (-6.94%)
Mutual labels:  gui, imgui
Tfclassify Unity
An example of using Tensorflow with Unity for image classification and object detection.
Stars: ✭ 140 (-2.78%)
Mutual labels:  unity, unity3d
Gitdependencyresolverforunity
This plugin resolves git url dependencies in the package for Unity Package Manager. You can use a git url as a package dependency!
Stars: ✭ 126 (-12.5%)
Mutual labels:  unity, unity3d
Nukleardotnet
.NET binding for the Nuklear immediate mode GUI
Stars: ✭ 126 (-12.5%)
Mutual labels:  gui, imgui

RapidGUI

openupm

Unity IMGUI extensions for Rapid prototyping/development.

rapidgui

Installation

Install via OpenUPM

The package is available on the openupm registry. It's recommended to install it via openupm-cli.

openupm add ga.fuquna.rapidgui

Install via git URL

Add following lines to the dependencies section of the Packages/manifest.json.

"ga.fuquna.rapidgui": "https://github.com/fuqunaga/RapidGUI.git"

Install via traditional .unitypackage

Download a .unitypackage file from the Release page.

Getting Started

  • Open and checkout the RapidGUI/Example/RapidGUIExample.unity
  • see also the usage from the script below RapidGUI/Example/Scripts/

Functions

RGUI.Field()

field

value = RGUI.Field(value, label);
  • Display standard GUI according to type of value
  • Right-drag label to edit numbers
  • Color picker
  • Array/List has a right-click menu like inspector
  • Supports custom class

CustomClass

fieldCustomClass

public class CustomClass
{
    public int publicField;

    [SerializeField]
    protected int serializeField;

    [NonSerialized]
    public int nonSerializedField;

    [Range(0f, 10f)]
    public float rangeVal;

    public string longNameFieldWillBeMultiLine;
}

customClass = RGUI.Field(customClass, nameof(customClass));

RGUI.Slider()

Slider

value = RGUI.Slider(value, min, max, label);
  • Display slider GUI according to type of numbers

RGUI.MinMaxSlider()

MinMaxSlider

RGUI.MinMaxSlider(minMaxVal, minMaxRange, label);
RGUI.MinMaxSlider(ref floatMin, ref floatMax, rangeMin, rangeMax, label);
  • Display min max slider GUI according to type of numbers
  • RapidGUI defines some basic MinMax type(MinMaxInt,MinMaxFloat,MinMaxVector2...)
  • You can also create your own MinMax type by inheriting MinMax<T>

RGUI.SelectionPopup()

fold

selectionPopupIdx = RGUI.SelectionPopup(selectionPopupIdx, new[] { "One", "Two", "Three" });
selectionPopupStr = RGUI.SelectionPopup(selectionPopupStr, new[] { "One", "Two", "Three" });

RapidGUI.Fold / Folds

fold

// Initialize
fold = new Fold("Fold");
fold.Add(() => GUILayout.Label("Added function"));
fold.DoGUI();

RapidGUI.WindowLauncher / WindowLaunchers

windowLauncher

// Initialize
launcher = new WindowLauncher("WindowLauncher");
launcher.Add(() => GUILayout.Label("Added function"));
launcher.DoGUI();
  • Toggle open/close window
  • Resizable
  • Has a close button

windowLaunchers

  • WindowLaunchers automatically adjusts the layout when opening a window

And more!!!

Please check the usage from the script below RapidGUI/Example/Scripts/

Tips

A "RapidGUI" object appears in the hierarchy

RapidGUIBehaviour the object is a RapidGUI settings and update hooks. If not in the scene, it will be generated automatically.

Save/Load parameters

See PrefsGUI

Reference

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].