Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: col000r on November 14, 2014, 02:35:50 AM

Title: Please make inheriting from NGUI classes easier!
Post by: col000r on November 14, 2014, 02:35:50 AM
Hi,

Would it be possible to mark as many methods as possible as protected virtual?

Every once in a while I need functionality that is just a little bit different from what one of the built-in scripts provides and so I'm trying to inherit from that class, but every time I do that I have to change something inside the original class too, which means I'll have to do those exact same changes every time I update NGUI from then on.
Title: Re: Please make inheriting from NGUI classes easier!
Post by: ArenMook on November 14, 2014, 04:59:55 AM
Virtual functionality slows down execution, so I'd rather not. If you need certain functionality marked as virtual, I'm open to it, but I won't be doing it for everything.