The Unity UI system is open and available for use in your games and applications. This document details how to get it up and running on your computer and start modifying the code!
The UI system is released under an MIT/X11 license; see the LICENSE file.
This means that you pretty much can customize and embed it in any software under any license without any other constraints than preserving the copyright and license information while adding your own copyright and license information.
You can keep the source to yourself or share your customized version under the same MIT license or a compatible license.
If you want to contribute patches back, please keep it under the unmodified MIT license so it can be integrated in future versions and shared under the same license.
-
Clone this repository onto a location on your computer.
-
Configure your IDE for the Unity coding standard, look in the .editorconfig file for more information
-
Open the project in Visual Studio or MonoDevelop
- If you are using MonoDevelop
- Ensure you enable XBuild (Preferences -> Projects -> Build ->"Compile projects using MSBuild/XBuild")
- You may need to restart MonoDevelop
- Build the solution
- If you are using MonoDevelop
-
A folder will be created in the root directory called "Output", the generated dll's will output here in the correct folder structure
- If you wish to use these dll's
- Locate your Unity install location
- Windows: Copy the contents of Output folder to:
Data\UnityExtensions\Unity\GUISystem\{UNITY_VERSION}
- OSX: Copy the contents of Output folder to:
Unity.app/Contents/UnityExtensions/Unity/GUISystem/{UNITY_VERSION}
-
If you want the dll's to copy automatically on build
- For each visual studio project file
- Open the file in a text editor
- Locate the section:
- Follow the instructions in the comments
- For each visual studio project file
At this stage the UI system is undergoing further development internally with many design decisions still being debated and implemented. Also, we are waiting to see the volume of pull requests and the time it will take the process them. As such, we are prioritizing first bug fix pull requests and will iterate on this process going forward.