Unity3d GUI framework.
Author: Danko Kozar
- 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.
- 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
1. Download the repository to your Windows PC.
2. Open the solution file in Visual Studio (VS2012 or later).
- The proper solution file to open is eDriven.Playground.sln
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.
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.
You could install Visual Studio Tools for Unity (ex UnityVS) for being able to set breakpoints in your code.
- eDriven Programming Manual
- Unity AssetStore – Download and install the compiled package
- Videos
- Unity Forum Q&A thread
- Author’s homepage
- I’m @DankoKozar on Twitter.