Search Unity

  1. Check out the Unite LA keynote for updates on the Visual Effect Editor, the FPS Sample, ECS, Unity for Film and more! Watch it now!
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Changing UI code

Discussion in 'Unity UI & TextMesh Pro' started by Democide, Oct 27, 2016.

  1. Democide

    Democide

    Joined:
    Jan 29, 2013
    Posts:
    260
    So the UI code is open source. If I want to make changes to it, how can I propagate those into my game?
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    2,702
    You can
    A: Download the corresponding file from the repository , change it and put it in your project.
    it will replace the file that would be loaded from the UI dll.
    B: Download the wohle repository and change what you need and then generate a new UI dll and place that dll in the unity directory.

    You can find that repository here :
    https://bitbucket.org/Unity-Technologies/ui
    on the front page there is a tutorial who to build the UI dll.
     
  3. Democide

    Democide

    Joined:
    Jan 29, 2013
    Posts:
    260
    Oh thanks! :D
     
  4. Democide

    Democide

    Joined:
    Jan 29, 2013
    Posts:
    260
    Quick question: Just putting the file in my project doesn't seem to change anything. I'm assuming there's as specific folder or something?
     
  5. Piflik

    Piflik

    Joined:
    Sep 11, 2011
    Posts:
    214
    Did you ever find a solution to this?