Author Topic: Is it possible to change the NGUI class to partial class?  (Read 1605 times)

yuewah

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 180
    • View Profile
Is it possible to change the NGUI class to partial class?
« on: January 07, 2015, 10:42:52 PM »
It would be more extensible if using partial class.
1. NGUITools, UICamera, NGUIMenu
2. UILabel, UIButton ... etc

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Is it possible to change the NGUI class to partial class?
« Reply #1 on: January 08, 2015, 09:05:57 AM »
Eh, I'd rather not change it at this point, plus I'm not sure how Unity would behave with partial classes, as I know it expects all monobehaviour-derived classes to be in files using the same name as the class.