RegisterClasses.cpp .. What is it for?

Hi all,

Do someone knows what RegisterClasses.cpp file is for ? (located in the generated Xcode project)

…It would be awsome if it was for sharing Classes between Objective-c and Mono. But I doubt it is :smile:
…So what is it and how is it used ?

It is used by Unity Engine internals, which engine components are used by scripts, which assemblies are compiled into final application. It is regenerated each time you hit build in Unity Editor.

Ok :slight_smile:

As it is most of the time empty class and definition, I thought it could be a place for adding external declarations or facilitators for Unity/Objective-C code (sniiiirffll ^^ )

Thanks for the reply !

Actually I bit mismatched it with RegisterMonoModules.cpp. RegisterClasses.cpp is old leftover and not used at the moment.