Author Topic: Using RectTransforn Tool for widget  (Read 7355 times)

Jes28

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 12
    • View Profile
Using RectTransforn Tool for widget
« on: February 02, 2015, 06:06:39 AM »
Hi. I try to use rectTransform for NGUI and release logs says that NGUI use it for Unity 4.6+ but when I (or NGUI) enable rect tool all handles are gone and I can not use it.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Using RectTransforn Tool for widget
« Reply #1 on: February 03, 2015, 10:11:34 AM »
Open up UIWidget.cs, go to line 1320 and change it from:
  1. #if UNITY_4_3 || UNITY_4_5 || UNITY_4_6
to:
  1. #if UNITY_4_3 || UNITY_4_5
« Last Edit: February 03, 2015, 10:26:04 AM by ArenMook »

Jes28

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 12
    • View Profile
Re: Using RectTransforn Tool for widget
« Reply #2 on: February 04, 2015, 03:29:11 AM »
I have no UNITY_4_6 in file at all and line 1320 is empty line after showHandles property.
I am on 3.7.4

BehindTheStone

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 135
    • View Profile
Re: Using RectTransforn Tool for widget
« Reply #3 on: February 04, 2015, 05:00:29 AM »
Well, then you should update to 3.7.9

Jes28

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 12
    • View Profile
Re: Using RectTransforn Tool for widget
« Reply #4 on: February 06, 2015, 08:01:48 AM »
Thanks :)

Now it works :)