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 - Eze

Pages: [1]
1
NGUI 3 Support / Re: Why isn't the UI Root the same size as the camera
« on: December 13, 2016, 06:12:55 AM »
I upgraded NGUI to the latest release - 3.11.1 and it's working as intended without necessity to change anything in NGUITools.cs.

To be clear, my issue was with UIRoot not adapting to game window when resolution was changed.

2
NGUI 3 Support / Re: Why isn't the UI Root the same size as the camera
« on: December 12, 2016, 11:07:45 AM »
I had exact same issue when I upgraded to Unity 5.5.0f3 with NGUI 3.11.0, and I can confirm that removing #ifdef section from NGUITools.cs fixed this issue.

OS: macOS 10.12.2 (with retina display).

3
NGUI 3 Support / UIScrollView onDragFinished not working
« on: July 31, 2014, 06:13:47 PM »
Hi,

I'm trying to recieve an event from scroll view when it stops moving to get centeredObject from UICenterOnChild but onDragFinished is not getting called.

  1.         void OnEnable() {
  2.                 scrollView.onDragFinished += whichPageIsActive;
  3.         }
  4.  
  5.         public void whichPageIsActive() {
  6.                 if (currentPage.centeredObject == page1) {
  7.                         Debug.Log("Page 1");
  8.                 } else if (currentPage.centeredObject == page2) {
  9.                         Debug.Log("Page 2");
  10.                 }
  11.         }
  12.  

When I replace onDragFinished with onDragStarted it works fine. What am I missing here?

Pages: [1]