{"id":13662240,"url":"https://github.com/fuqunaga/RapidGUI","last_synced_at":"2025-04-25T07:30:58.131Z","repository":{"id":45973483,"uuid":"186561079","full_name":"fuqunaga/RapidGUI","owner":"fuqunaga","description":"Unity OnGUI(IMGUI) extensions for Rapid prototyping/development","archived":false,"fork":false,"pushed_at":"2023-03-10T10:09:49.000Z","size":10755,"stargazers_count":345,"open_issues_count":3,"forks_count":28,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-07T07:15:36.305Z","etag":null,"topics":["gui","imgui","rapid","rapid-development","rapid-prototyping","runtime","unity","unity3d"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fuqunaga.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"fuqunaga","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-05-14T06:42:59.000Z","updated_at":"2025-04-02T01:32:17.000Z","dependencies_parsed_at":"2024-01-06T17:46:01.986Z","dependency_job_id":"cb28f44e-8b8d-49d2-89e0-53069bb8e5e5","html_url":"https://github.com/fuqunaga/RapidGUI","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuqunaga%2FRapidGUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuqunaga%2FRapidGUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuqunaga%2FRapidGUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuqunaga%2FRapidGUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fuqunaga","download_url":"https://codeload.github.com/fuqunaga/RapidGUI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250774626,"owners_count":21485176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gui","imgui","rapid","rapid-development","rapid-prototyping","runtime","unity","unity3d"],"created_at":"2024-08-02T05:01:53.123Z","updated_at":"2025-04-25T07:30:58.125Z","avatar_url":"https://github.com/fuqunaga.png","language":"C#","funding_links":["https://github.com/sponsors/fuqunaga"],"categories":["Open Source Repositories","GamePlay","C\\#","C#","Open Source Packages","Graphics"],"sub_categories":["UI","HUD"],"readme":"# RapidGUI\n[![openupm](https://img.shields.io/npm/v/ga.fuquna.rapidgui?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/ga.fuquna.rapidgui/)\n\nUnity IMGUI extensions for Rapid prototyping/development.\n\n![rapidgui](Documentation~/rapidgui.png)\n\n## Installation\n\n### Install via OpenUPM\n\nThe package is available on the [openupm registry](https://openupm.com). It's recommended to install it via [openupm-cli](https://github.com/openupm/openupm-cli).\n\n```\nopenupm add ga.fuquna.rapidgui\n```\n\n### Install via git URL\n\nAdd following lines to the `dependencies` section of the `Packages/manifest.json`.\n```\n\"ga.fuquna.rapidgui\": \"https://github.com/fuqunaga/RapidGUI.git\"\n```\n\n### Install via traditional `.unitypackage`\n\nDownload a `.unitypackage` file from the [Release page](https://github.com/fuqunaga/RapidGUI/releases).\n\n## Getting Started\n- Open and checkout the **RapidGUI/Example/RapidGUIExample.unity**\n- see also the usage from the script below [**RapidGUI/Example/Scripts/**](Example/Scripts/)\n\n## Functions\n### RGUI.Field()\n![field](Documentation~/field.gif)\n\n```csharp\nvalue = RGUI.Field(value, label);\n```\n\n- Display standard GUI according to type of value\n- Right-drag label to edit numbers\n- Color picker\n- Array/List has a right-click menu like inspector\n- Supports custom class\n\n**CustomClass**\n\n![fieldCustomClass](Documentation~/FieldCustomClass.png)\n\n```csharp\npublic class CustomClass\n{\n    public int publicField;\n\n    [SerializeField]\n    protected int serializeField;\n\n    [NonSerialized]\n    public int nonSerializedField;\n\n    [Range(0f, 10f)]\n    public float rangeVal;\n\n    public string longNameFieldWillBeMultiLine;\n}\n\n```\n```csharp\ncustomClass = RGUI.Field(customClass, nameof(customClass));\n```\n\n\n### RGUI.Slider()\n![Slider](Documentation~/Slider.png)\n```csharp\nvalue = RGUI.Slider(value, min, max, label);\n```\n- Display slider GUI according to type of numbers\n\n\n### RGUI.MinMaxSlider()\n![MinMaxSlider](Documentation~/MinMaxSlider.png)\n```csharp\nRGUI.MinMaxSlider(minMaxVal, minMaxRange, label);\nRGUI.MinMaxSlider(ref floatMin, ref floatMax, rangeMin, rangeMax, label);\n```\n- Display min max slider GUI according to type of numbers\n- RapidGUI defines some basic MinMax type(`MinMaxInt`,`MinMaxFloat`,`MinMaxVector2`...)\n- You can also create your own MinMax type by inheriting `MinMax\u003cT\u003e`\n\n\n### RGUI.SelectionPopup()\n![fold](Documentation~/selectionPopup.gif)\n```csharp\nselectionPopupIdx = RGUI.SelectionPopup(selectionPopupIdx, new[] { \"One\", \"Two\", \"Three\" });\nselectionPopupStr = RGUI.SelectionPopup(selectionPopupStr, new[] { \"One\", \"Two\", \"Three\" });\n```\n\n### RapidGUI.Fold / Folds\n![fold](Documentation~/fold.gif)\n\n```csharp\n// Initialize\nfold = new Fold(\"Fold\");\nfold.Add(() =\u003e GUILayout.Label(\"Added function\"));\n```\n\n```csharp\nfold.DoGUI();\n```\n\n### RapidGUI.WindowLauncher / WindowLaunchers\n![windowLauncher](Documentation~/windowLauncher.gif)\n```csharp\n// Initialize\nlauncher = new WindowLauncher(\"WindowLauncher\");\nlauncher.Add(() =\u003e GUILayout.Label(\"Added function\"));\n```\n\n```csharp\nlauncher.DoGUI();\n```\n- Toggle open/close window\n- Resizable\n- Has a close button\n\n![windowLaunchers](Documentation~/windowLaunchers.gif)\n- WindowLaunchers automatically adjusts the layout when opening a window\n\n### And more!!!\nPlease check the usage from the script below [**RapidGUI/Example/Scripts/**](Example/Scripts/)\n\n## Tips\n### A \"RapidGUI\" object appears in the hierarchy\n![RapidGUIBehaviour](Documentation~/RapidGUIBehaviour.png)\nthe object is a RapidGUI settings and update hooks.\nIf not in the scene, it will be generated automatically.\n\n## Save/Load parameters\nSee [PrefsGUI](https://github.com/fuqunaga/PrefsGUI)\n\n\n## Reference\n- **unity-immediate-color-picker**\nhttps://github.com/mattatz/unity-immediate-color-picker\n- **PrefsGUI**\nhttps://github.com/fuqunaga/PrefsGUI\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuqunaga%2FRapidGUI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuqunaga%2FRapidGUI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuqunaga%2FRapidGUI/lists"}