New Asset Store script naming conventions

Hi all, I suggest that when submitting code for the asset store all your scripts should have your company initials in them . This would help to prevent script naming conflicts( right now I’d like to use NGUI and UI tool kit in one project, but I cant ).

For example If i’m the CEO of AwesomeGames and I’m submiting a music player my scripts would be titled

AgMusicPlayer.CS
AgMusicHelper.CS
ect .

I know this may be difficult for authors, but it would help consummers alot

Best solution is compile the code into DLLs. Unity imports namespaces from DLLs then the user can simply use “CompanyName.Whatever”.
I think main problem on this is developers should ship a separate folder with source code if the files are open to anyone and let the users re-compile the DLL whenever they need to. So most AS publishers avoid namespaces because of that.

No need to do all that , just when your creating for the asset store just add something unique to your script names

This is a good idea, and one that it’s good to think of early in development. I thought to rename my scripts with a descriptive prefix (“AdvTex” in this case) half way though development, which lead to renaming all the classes, and then all the variable definitions that used the new class names. If I had thought about it at the start of the project, it would have gone a lot smoother. The only place I didn’t do that was in the demo folder, but that was designed to be deleted when you got the hang of the library.

No, don’t add initials to your classes. Unity 4 is supporting namespaces for MonoBehaviours, so just put all your classes into a unique namespace.

+1