HI all, How to compile a c++ code from unity ? have to do it in xcode means how i can link it with unity ?.Confusing pls help Thanks in advance. regard's rajesh
Hi you would have to compile your plugin in a program external to unity. Then import it into unity in a plugins folder you create in your project tab. This is all documented here http://unity3d.com/support/documentation/Manual/Plugins.html
For iOS you don't need to do that unless you want to, you can drop the c / cpp / m / mm file into Plugins/iOS directory within your Assets directly and it will be integrated into the XCode project and compiled by the iOS SDKs GCC compiler along the rest of the application But this part is explained as well in the documentation linked by Harris (just wanted to point it out to prevent the missassumption that you have to feed in precompiled .a libraries to do plugins for iOS)