- Home /
Simple Native Plugin
Hi,
I would be so grateful if you could please guide me through creating a simple native plugin from scratch. I have found many resources regarding this but I still cannot put it all together.
What I'm trying to accomplish:
call a native obj c function from unity
the native function calls a function in a c sharp script in unity which would print something to the console
Basically, just a call-back so I know it's working.
I'd really appreciate if you could please provide me with some sample code if that's ok and where I need to put native code (what file extention). Thanks
Regards,
Lukas
Your answer
![](https://koobas.hobune.stream/wayback/20220613065052im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
using native code plugin for unity iPhone 1 Answer
Native Alert on iOS (plugin) 1 Answer
How to access an Android native plugin in unity ? 0 Answers
can mono touch be used to make unity iPhone plugins 0 Answers
Using Texture2D.GetNativeTextureID() 0 Answers