Skip to main content
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 ...
DMGregory's user avatar
  • 136k
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 ...
virtouso's user avatar
  • 2,650
1 vote

prefab editor not working for NGUI in unity2018

In 2018.4 you can edit prefab edit environment in ProjectSettings/Editor
user4914320's user avatar
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.
Saad Anees's user avatar
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. ...
DMGregory's user avatar
  • 136k
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 ...
Dmitry Tabakov's user avatar
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, ...
Hellium's user avatar
  • 2,949
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.
jhocking's user avatar
  • 15.8k

Only top scored, non community-wiki answers of a minimum length are eligible