Skip to content

groov0v/edriven-gui

 
 

Repository files navigation

Unity3d GUI framework.

Author: Danko Kozar

Concept

  • eDriven.Gui is a powerful GUI framework for Unity3d.
  • You could use eDriven.Gui to build a wide range of apps, from games to business applications.
  • Some parts of the framework are ported from Apache Flex.

Features

  • Built on top of eDriven.Core
  • Retained mode GUI
  • Display list (composite pattern)
  • Component lifecycle
  • Invalidation-validation mechanism
  • Implements OOP concepts
  • Event-driven (DOM Level 3 events)
  • Event bubbling
  • Signals and slots
  • Skinnable
  • Layout engine
  • Plugin architecture
  • Internal tweening engine
  • Dialogs and alerts
  • Firebug-like inspector
  • Cursor management
  • Focus management
  • Tab management
  • Tooltips
  • Components as C# classes
  • DLL component distribution

Usage

1. Download the repository to your Windows PC.

2. Open the solution file in Visual Studio (VS2012 or later).

3. Build the solution

  • Ctrl + Shift + B should build the solution.
  • If not, right-click the solution in Solution Explorer and “Rebuild Solution”
  • the post-build process should copy all the relevant .DLLs into the Libs folder

4. Open any Unity Demo and run it.

Build

There are currently 3 build configurations:

1. DEBUG
2. RELEASE
3. TRIAL

You can switch configurations using the combo box located at the top of Visual Studio.

Depending of the chosen configuration, some parts of framework code will be included or excluded in build (look for “#if DEBUG”, “#if RELEASE” and “#if TRIAL” statements in code).

The .DLLs that are being built are always copied to the same location, owerwriting those built before (Libs)

You should manually add the “TRIAL” configuration (Visual Studio → Configuration manager → Active solution configuration → New → Name: “Trial”.

Here’s the explanation for each build configuration:

1. DEBUG: Used for development. Multiple “#if DEBUG” statements are being pushed into code, as well as “DebugMode” switch on multiple classes. The DebugMode switch could be set to true to enable logging of messages for the host class.

2. RELEASE: You would normally want .DLLs built with this configuration in production. This version excludes any debug statements and hack checks.

3. TRIAL: I used this configuration for making the Free version of the framework. The free version included multiple hack checks etc.

Debugging

You could install Visual Studio Tools for Unity (ex UnityVS) for being able to set breakpoints in your code.

Resources

Special thanks to

About

Unity3d GUI framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 97.3%
  • Smalltalk 2.1%
  • Other 0.6%