Existing iOS code into new Unity

Hi,

I’m an iOS Developer, and I’ve been tasked with taking an existing advertising SDK along with a few wrapper classes I’ve written, and making them available to our game developers to use in their Unity based games.

Being completely new to Unity I’ve been looking at documentation and video tutorials, but they are all obviously geared towards someone who wants to build a game. I am basically coming from the opposite side - I have the native code and I need to create a library to be dropped into existing Unity projects.

Can anybody suggest a good document or tutorial that might help me accomplish this? Ideally I’d like to build the library in iOS and then have some kind of interface to it through Unity…if it even works that way.

Thanks in advance.

Your best bet would be to look at how some of the other guys have done it. Prime31 has various ad-related plugins, and there’s been numerous discussions on here (admittely from a while ago) about how to implement Admob, etc.