Author Topic: Assigning C# NGUI assets to a JS variable through the inspector issue.  (Read 1433 times)

Rick74

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 34
    • View Profile
Not sure if this is a Unity issue, or a known NGUI thing.  But I'm trying to assign NGUI created C# Text widget to a JS UILabel; variable.  And it refuses to let me save it. (the change stays bold in the inspector) I can drop any other object into that slot and it lets me save it out, but not the C# Text UILabel script.

I'm going to try asking this on Unity's boards as well...but if anyone has any experience with this, any information you could provide would be much appreciated.

 :o
« Last Edit: September 05, 2013, 04:13:24 PM by Rick74 »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Assigning C# NGUI assets to a JS variable through the inspector issue.
« Reply #1 on: September 05, 2013, 08:15:18 PM »
You're doing it at edit time? You need to save the scene when you make a change at edit time. You can't save anything at run-time.