All Projects → fuqunaga → PrefsGUI

fuqunaga / PrefsGUI

Licence: MIT License
Accessors and GUIs for persistent preference values using JSON file

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to PrefsGUI

imgui
Dear ImGui Addons Branch = plain unmodified dear imgui plus some extra addon.
Stars: ✭ 348 (+397.14%)
Mutual labels:  imgui
imaditor
Image Editor with a UI creatief with ImGui
Stars: ✭ 24 (-65.71%)
Mutual labels:  imgui
Pumpkin-Engine
A powerful and capable 2d game engine in Kotlin
Stars: ✭ 1 (-98.57%)
Mutual labels:  imgui
rotation master
Provide conversion between the major representations of 3D rotation and visualize the orientation of a rigid body
Stars: ✭ 157 (+124.29%)
Mutual labels:  imgui
chiagen
standalone chia generator
Stars: ✭ 13 (-81.43%)
Mutual labels:  imgui
DoGUI
Hello DoGUI: (not yet completed) Bloat-free Graphical User interface for C++ with minimal dependencies and a sleek default design
Stars: ✭ 19 (-72.86%)
Mutual labels:  imgui
ruby-imgui
Yet another ImGui wrapper for Ruby
Stars: ✭ 42 (-40%)
Mutual labels:  imgui
demos
OpenGL and Vulkan graphics experiments and samples
Stars: ✭ 34 (-51.43%)
Mutual labels:  imgui
pubg mobile memory hacking
Pubg Mobile Emulator Gameloop Memory Hacking C++ Source Code. Ex: Name, Cords, Bones, Weapons, Items, Box, Drop, Aimbot etc.
Stars: ✭ 69 (-1.43%)
Mutual labels:  imgui
Luna-Engine
Luna Engine is DirectX 11 based engine that i am trying to make.
Stars: ✭ 35 (-50%)
Mutual labels:  imgui
bgfx-python
Python 3.7+ wrapper for the BGFX library. 🐍
Stars: ✭ 99 (+41.43%)
Mutual labels:  imgui
imgui-app
Dear IMGUI + Render + Window handling, amalgamation in two files ready to use
Stars: ✭ 99 (+41.43%)
Mutual labels:  imgui
zynlab
Clone of ZynAddSubFX 2.44 to test some new ui ideas
Stars: ✭ 17 (-75.71%)
Mutual labels:  imgui
nes-rust
NES emulator in Rust with GUI
Stars: ✭ 78 (+11.43%)
Mutual labels:  imgui
ScopeGUI
虚拟示波器 GUI for https://github.com/shuai132/ScopeMCU
Stars: ✭ 46 (-34.29%)
Mutual labels:  imgui
rbfx
Game engine with (optional) C# support and WYSIWYG editor.
Stars: ✭ 511 (+630%)
Mutual labels:  imgui
Qubes-scripts
Scripts that help with administration and usage of Qubes OS
Stars: ✭ 33 (-52.86%)
Mutual labels:  prefs
DearPyGui-Obj
An object-oriented wrapper around DearPyGui
Stars: ✭ 32 (-54.29%)
Mutual labels:  imgui
Apos.Gui
UI library for MonoGame.
Stars: ✭ 77 (+10%)
Mutual labels:  imgui
awesome-dear-imgui
A collection of awesome dear imgui bindings, extensions and resources
Stars: ✭ 439 (+527.14%)
Mutual labels:  imgui

PrefsGUI

openupm

Accessors and GUIs for persistent preference values using JSON file

// define PrefsParams with key.
public PrefsBool prefsBool = new PrefsBool("PrefsBool");
public PrefsInt prefsInt = new PrefsInt("PrefsInt");
public PrefsFloat prefsFloat = new PrefsFloat("PrefsFloat");
public PrefsString prefsString = new PrefsString("PrefsString");
public PrefsParam<EnumSample> prefsEnum = new PrefsParam<EnumSample>("PrefsEnum");
public PrefsColor prefsColor = new PrefsColor("PrefsColor");
public PrefsVector2 prefsVector2 = new PrefsVector2("PrefsVector2");
public PrefsVector3 prefsVector3 = new PrefsVector3("PrefsVector3");
public PrefsVector4 prefsVector4 = new PrefsVector4("PrefsVector4");
public PrefsAny<CustomClass> prefsClass = new PrefsAny<CustomClass>("PrefsClass");
public PrefsList<CustomClass> prefsList = new PrefsList<CustomClass>("PrefsList");


public void DoGUI()
{
    prefsBool.DoGUI();

    // Return true if value was changed
    var changed = prefsInt.DoGUI();
    if (changed)
    {
        // Implicitly convert
        int intValue = prefsInt;
        Debug.Log("Changed. " + intValue);
    }

    prefsFloat.DoGUI();
    prefsFloat.DoGUISlider();
    prefsString.DoGUI();
    prefsEnum.DoGUI();
    prefsColor.DoGUI();
    prefsVector2.DoGUI();
    prefsVector2.DoGUISlider();
    prefsVector3.DoGUI();
    prefsVector3.DoGUISlider();
    prefsVector4.DoGUI();
    prefsVector4.DoGUISlider();
    prefsClass.DoGUI();
    prefsList.DoGUI();
}

Installation

Dependencies

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 ga.fuquna.prefsgui

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",
"ga.fuquna.prefsgui": "https://github.com/fuqunaga/PrefsGUI.git"

Install via traditional .unitypackage

Download a .unitypackage file from the Release page.

PrefsSearch

Display loaded PrefsParams with partial key match

EditorWindow

  • Window -> PrefsGUI
  • Display all loaded prefs that can be modiefied
  • You can also feed back the current value as default value
  • You can edit the key prefix for each GameObject by displaying it in order of GameObject

JSON file path

Application.persistentDataPath + "/Prefs.json"

You can customize by placing PrefsWrapperPathCustom in the scene and set _path field. also can use the Special folders and environment variables.

- %dataPath% -> Application.dataPath
- %companyName% -> Application.companyName
- %productName% -> Application.productName
- other %[word]% -> System.Environment.GetEnvironmentVariable([word])

MaterialPropertyDebugMenu

Auto create material GUI menu

Sync Prefs over network

PrefsGUISyncUNET https://github.com/fuqunaga/PrefsGUISyncUNET

References

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].