Author Topic: Boo script access NGUI  (Read 1677 times)

lzt120

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 68
    • View Profile
Boo script access NGUI
« on: July 30, 2012, 10:04:57 PM »
I am trying to use Boo script to access the NGUI. But the is error show me and how can I fixed that ?

Scene is being destroyed while there are hidden renderers that are using it. This is likely an editor script creating objects with hideFlags and leaving them enabled.


Here is my Test Code and the NGUI version is 2.04c:

import UnityEngine
class ControlNGUI (MonoBehaviour):

   public s as string
   public label as UILabel
   
   def Start ():
      label.text = s

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Boo script access NGUI
« Reply #1 on: July 31, 2012, 12:42:52 AM »
That's not an error, and it was fixed in 2.0.9 or so. You need to update to the latest version.