2D Toolkit Forum

2D Toolkit => Support => Topic started by: J. Park on July 30, 2014, 01:20:41 am

Title: I want 2dtoolkit to use namespace
Post by: J. Park on July 30, 2014, 01:20:41 am
Unity now supports namespace with Monobehaviour.
2Dtoolkit has too many classes that is not organized in class view in Visual Studio or other IDE
It would be nice if 2dtoolkit use it's own namespace to distinguish it from other class files.
Title: Re: I want 2dtoolkit to use namespace
Post by: unikronsoftware on July 30, 2014, 12:27:04 pm
Sadly that can't be done because of backwards compatibility.
Title: Re: I want 2dtoolkit to use namespace
Post by: J. Park on July 30, 2014, 11:23:34 pm
How about using "#if" keyword? (like #if UNITY3.5 ...)
Title: Re: I want 2dtoolkit to use namespace
Post by: unikronsoftware on July 31, 2014, 01:00:47 am
No its not that kind of backwards compatiblity. Its for any existing projects - if it got changed, the GUIDs could change, and the scripts will no longer be linked properly. The last time I tested this it broke existing projects in horrible ways.

Its fine if you want to change it in a new project, but I can't change it directly as it could cause far too many issues.