Author Topic: Please make inheriting from NGUI classes easier!  (Read 4874 times)

col000r

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 3
  • Posts: 43
  • Mighty Emperor of Planet "Home Office"
    • View Profile
    • BLACKISH
Please make inheriting from NGUI classes easier!
« 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.
Games: BLACKISH | Blog | Assets

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Please make inheriting from NGUI classes easier!
« Reply #1 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.