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.


Topics - yamazakida

Pages: [1]
1
NGUI 3 Support / NGUI 3.0 UIPanel Bug
« on: October 14, 2013, 11:03:43 PM »
(Sorry. I can't English. use English a little bit.)

I have null reference bug at NGUI 3.0.2


   public void Refresh ()
   {
      mFullRebuild = true;
      list[0].LateUpdate();    <-- bug
   }


My Unity3D 4.2.1 Error Message :

NullReferenceException: Object reference not set to an instance of an object
UIPanel.Refresh () (at Assets/NGUI/Scripts/UI/UIPanel.cs:663)
UITexture.set_mainTexture (UnityEngine.Texture value) (at Assets/NGUI/Scripts/UI/UITexture.cs:164)
UITextureStrategy.ChangeTexture (System.String path) (at Assets/Contents/Scripts/10-BattleScene/UITextureStrategy.cs:60)
StrategyCardCenter.SetStrategyCard (Int32 index, System.String filename) (at Assets/Contents/Scripts/StrategyCardCenter.cs:25)
BattleController.Awake () (at Assets/Contents/Scripts/10-BattleScene/BattleController.cs:44)



2
NGUI 3 Support / How to change lambda to NGUI 3.0
« on: September 21, 2013, 12:46:47 PM »
I used  " _slider.onValueChange += x => isDirty = true;  "
but can't it way after NGUI 3.0 upgrade.

Answer Please.


(Sorry. I can use English a little bit.)

Pages: [1]