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

Pages: [1]
1
Quote
3.0.7 Tutorial - Beginner to advanced level. Goes over some of the recent features and finishes by creating a pair of resizable draggable drag & drop item scroll views.

follow this video i build a drag & drop system (same as video), but if an item drop to another scroll view the moved item can move both scroll views position by click on it ~ very easy to reproduce @3.4.9


2
NGUI 3 Documentation / Re: UIToggle
« on: February 03, 2014, 12:03:09 PM »
How to know who called the callback inside the onChange callback method ?

Write a new script attach to toggle ? is this a "right" way ?

  1.  
  2.         UIToggle toggle;
  3.         GameObject target;
  4.  
  5.         public void OnChange(){
  6.                 target.SendMessage("OnChange", toggle, SendMessageOptions.DontRequireReceiver);
  7.         }
  8.  
  9.  
  10.  

Why not give event a parameter ?

Pages: [1]