Skip to content

GameFrameX/com.gameframex.unity.ui.ugui

Repository files navigation

Game Frame X Logo

Game Frame X UI UGUI

License Version Unity Version Documentation

All-in-One Solution for Indie Game Development · Empowering Indie Developers' Dreams


Documentation · Quick Start · QQ Group: 467608841 / 233840761


English | 简体中文 | 繁體中文 | 日本語 | 한국어

Features

Core Functionality

  • UGUI Component Wrappers: High-level wrappers for Unity UGUI components
  • UI Manager: Complete UI form management system
  • Code Generator: Automatic UI code generation for improved development efficiency
  • Extension Methods: Rich UGUI component extension methods
  • Form Helpers: UI form creation and management helper tools

Main Components

UI Management System

  • UIManager: Form manager handling UI open/close and lifecycle management
  • UGUI: Abstract UI base class providing UI visibility state control
  • UGUIFormHelper: UI form helper handling UI instantiation and creation

Extension Features

  • UGUIButtonExtension: Button component extension methods
  • UGUIImageExtension: Image component extension methods
  • RectTransformExtension: RectTransform extension methods
  • UIImage: Enhanced Image component with async image loading support

Editor Tools

  • UGUICodeGenerator: UGUI code generator
  • UGUIComponentInspector: UGUI component inspector
  • UIImageReplaceHandler: UI image replacement handler

Installation

Dependencies

{
  "com.gameframex.unity": "1.1.1",
  "com.gameframex.unity.ui": "1.0.0",
  "com.gameframex.unity.asset": "1.0.6",
  "com.gameframex.unity.event": "1.0.0"
}

Installation Methods (choose one)

  1. Package Manager (Recommended)

    • Open Unity Editor
    • Open Package Manager window
    • Click the "+" button and select "Add package from git URL"
    • Enter: https://github.com/gameframex/com.gameframex.unity.ui.ugui.git
  2. manifest.json

    • Add the following to the dependencies section of your manifest.json file
    {"com.gameframex.unity.ui.ugui": "https://github.com/gameframex/com.gameframex.unity.ui.ugui.git"}
  3. Local Installation

    • Download the repository and place it in your Unity project's Packages directory. It will be auto-detected.

Quick Start

Installation

Edit your Unity project's Packages/manifest.json and add the scopedRegistries section:

{
  "scopedRegistries": [
    {
      "name": "GameFrameX",
      "url": "https://gameframex.upm.alianblank.uk",
      "scopes": [
        "com.gameframex"
      ]
    }
  ]
}

scopes controls which packages are resolved through this registry. Only packages whose names start with com.gameframex will be fetched from it.

Then add the package to dependencies:

{
  "dependencies": {
    "com.gameframex.unity.ui.ugui": "2.5.1"
  }
}

License

See LICENSE.md for license information.

About

GameFrameX Unity UGUI adapter integrating Unity UGUI component management with the framework UI system

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages