Home › Page › FAQ

FAQ

Unity GUI Helper

If you have questions about general usability, please check out our tutorials and example scenes.  The tutorials are listed on the left side of this page in the navigation area, and the example scenes are located in the Unity project once it is downloaded from the asset store.

My Inspector window for Sprite Definitions just says “Creation:”, none of the buttons are there!
My Game and Scene views do not update.
After I create a SpriteAtlas, my sprites are cropped incorrectly.
UghAlign and UghStretch isn’t doing anything.
Word wrap on UghText is behaving strangely.
UghScrollView is not working.
I’m trying to use the Unity Animation Editor to animate my Ugh interface… but it won’t let me!
The draw order in the Scene View is out of order.
How do I use Localization features?
How do I use multi-resolution features?

My Inspector window for Sprite Definitions just says “Creation:”, none of the buttons are there!

Unity requires that the Editor and Plugins folders that come with Ugh have to be placed in the project’s main Assets folder before Ugh works properly. Just drag the Editor and Plugins folders into the main Assets folder, and you should be good. Ugh in your Project’s folder hierarchy should look roughly like this:

Screen Shot 2013-05-20 at 11.01.21 AM

My Game and Scene views do not update.

Sometimes you need to force the scene view to update.  This can be done by doing a simple action in the Scene View such as brining the scene view into focus, brushing the scroll wheel, clicking in the scene view, etc.  If all else fails, you can try hitting the play button and un-play, and your view should update.

After I create a SpriteAtlas, my sprites are cropped incorrectly.

There are a couple of potential reasons for this problem.

  • Your sprite meshes may not be updated in the scene after you created the new SpriteAtlas.  As long as you don’t have “Stop Automatic Updates” selected in the Ugh window, it should automatically update.  Sometimes this doesn’t always happen, in which case you can go to the menu item Ugh -> Force Update All UghSprite Meshes.
  • If the above doesn’t work, you may be trying to force too many sprites in a SpriteAtlas with limited resolution.  The solution here would be to organize the sprites into multiple SpriteAtlases.

UghAlign and UghStretch isn’t doing anything.

First, make sure it is set up correctly.  Please refer to our Align Tutorial or any of our example scenes in the project to see UghAlign in action.  Once you are confident they are set up correctly, sometimes you may need to force it to update Aligns and Stretches by hitting Play and then Un-Play in the editor.

Word wrap on UghText is behaving strangely.

We hope to address this in future updates, but in the meantime it can be a bit finicky.  If you scale text, you must scale the character size and not the transform scale.  It can also behave strangely if the scale of one of its parents is not 1.  Rotation also messes it up.  Heh, guess we better get on fixing this.

UghScrollView is not working.

Our UghScrollView feature is still in BETA.  ”Snap-to” scrolling works fairly well at the moment (please reference our “Horizontal Snap Scrolling” example scene).  Continuous scrolling is still behaving strangely.  We appreciate your patience as we’re currently working on updating this out of BETA and ready for prime-time.

I’m trying to use the Unity Animation Editor to animate my Ugh interface… but it won’t let me!

Ugh and the Animation editor are in conflict with each other.  To prevent this, open the Ugh Window and check the box “Stop Automatic Updates.”  Another thing to consider is animations and aligns/stretches don’t play well together.

The draw order in the Scene View is out of order.

Unfortunately, this is something that cannot be avoided.  You can try separating things further apart on the z-axis, but sometimes that can present its own set of problems.

How do I use Localization features?

This happens to be one of our more advanced features in Ugh, which requires a more complicated setup.  We are working on getting a video tutorial to help assist with this, but in the meantime you can reference our instructional write-ups here: Localize and LocalizedString.

How do I use multi-resolution features?

This is also one of our more advanced features in Ugh.  Our goal is to get a video tutorial online to help assist, but you can check out this page for some initial guidance.