3
votes
Variable from class doesn't show in editor
A UnityEvent, like the Button's OnClick event acts on methods, not on variables.
The reason ...
1
vote
Accepted
prefab editor not working for NGUI in unity2018
some special prefabs or gameobjects need a certain parent object. for example any Unity UI object needs to be parented directly or indirectly with canvas object. NGUI is the same and any ui object ...
1
vote
prefab editor not working for NGUI in unity2018
In 2018.4 you can edit prefab edit environment in ProjectSettings/Editor
1
vote
Accepted
unity UI limitation for tutorial purpose
You can achieve this with Maskable UI. See Unity documents for Sprite Masking here or this tutorial here.
Also, you can use this paid Unity Asset.
1
vote
Accepted
Attach the UIButton to Component Via Script (C# Unity)
If the MC_StreamingOption doesn't exist at edit time, you can assign the button to another script to hold onto the button on its behalf until it's been spawned and is ready to accept it.
...
1
vote
Accepted
All sides shadow outline in Unity NGUI
It looks the image has Shadow + Outline. For text you should use "NGUI Label" component for gameobject. But there is only 1 effect could be applied to text: Shadow or Outline.
I believe you can make ...
1
vote
All sides shadow outline in Unity NGUI
Unity as a built-in Shadow component for UI elements. It's far from perfect but it's a good starting point.
Otherwise, you could duplicate the text, attach an outline component to the front text, ...
1
vote
Canvas not filling up the whole screen in Unity 5
Is the canvas scaler set to Preserve Pixel resolution? I make that mistake sometimes, that's the default and there's a setting for Scale with Screen.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
unity × 30ngui × 30
gui × 10
c# × 2
sprites × 2
ui-design × 2
hud × 2
textures × 1
ios × 1
unityscript × 1
gameobject × 1
texture-atlas × 1
resource-management × 1
video × 1
clipping × 1
tweening × 1
wpf × 1
visualization × 1
ugui × 1