Game Development Reference
In-Depth Information
Adding your own version of UI to your project
So you got your code, what to do with it? The first step is to build the code, ready to
copy it to your Unity installation.
At the time of writing this, the only method of getting your own
local code changes to the UI system into your Unity installation is to
manually copy them. However, in the future this may be enhanced
and made easier through the Module system in Unity ( Edit | Modules
in Unity ) or some other method; they are aware this isn't simple yet
and want to make it easier. So keep checking on Unity's site or the UI
Bitbucket page for updates.
With your solution open from earlier, build the project and once it's complete we
can start:
I will be brief here as the full instructions are included with the project
and on the Unity UI Bitbucket project page.
1.
Open Windows Explorer on your computer (or the Finder on your Mac)
and navigate to your Unity installation folder.
2.
Open up the Editor\Data\UnityExtensions\Unity\GUISystem folder
(or Unity.app/Contents/UnityExtensions/Unity/GUISystem on a Mac).
By default, on a Mac, the filename extensions aren't turned on. So
instead of Unity.app it will appear in the Finder (the Mac file manager)
as just Unity . To be able to browse to the right folder, it's necessary
to right-click on Unity (or Unity.app ) and then select Show Package
Contents from the pop-up menu. A new Finder window then appears
that allows you to navigate from Contents onwards.
This is a handy tip from one of my Mac owning reviewers,
Simon Wheatley.
3.
If you haven't done so already, back up the original folders within the
GUISystem folder, which is the same as your installed version (for example,
4.6.0 for the initial release).
 
Search WWH ::




Custom Search