Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: liangyen on January 25, 2013, 06:01:30 AM

Title: how to extend UIButtonMessage inspector
Post by: liangyen on January 25, 2013, 06:01:30 AM
hi
is it possable to extend UIButtonMessage component

when i drag a target gameobject to Target field

the function name field will show all method on this gameobject like animation event

http://docs.unity3d.com/Documentation/Components/animeditor-AnimationEvents.html (http://docs.unity3d.com/Documentation/Components/animeditor-AnimationEvents.html)

if can input parameter more good

thanks
Title: Re: how to extend UIButtonMessage inspector
Post by: ArenMook on January 25, 2013, 10:46:50 AM
Is it possible? Certainly. I do that in TNet for the TNAutoSync script. It involves creating a custom inspector.