Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - bbfy

Pages: [1]
NGUI 3 Support / Scrollview overflow visible
« on: December 12, 2017, 05:25:36 PM »

for some reason I can see the hole object on scrolling even out of bounds:

As you can see on screenshot, even while editing... any idea ont this?

same for me with attached font.

@ArenMook I followed this Tutorial:

So I do have a layer, a WidgetLayer to scroll. What is really unusual, If I add the items manually, so before run, clicks are working. Right now I removed this layer to scroll and have a scrollbar (ugly solution)

NGUI 3 Support / UIButton added via script not responding to clicks
« on: April 23, 2017, 03:39:22 AM »
Hi all,

I have created am adding the prefab with attached uibutton script via script. The button has a script where I am adding the click event.

  1. void Start() {
  2.                 UIButton uiButton = gameObject.GetComponent<UIButton>();
  3.                 EventDelegate.Set(uiButton.onClick, onClickHandler);
  4.         }
  6.         public void onClickHandler() {
  7.                 Debug.Log("bla");
  8.         }

The button i added in a table inside a scroll view, if this matters. However if I add the button manually, it works fine, but if I add it via script in does not respond on clicks.

any idea?

Pages: [1]