This particular script will help you to implement basic native Android in Unity.
This show an example of showing a native Android’s Toast
in unity using AndroidJavaClass
and AndroidJavaObject
.
For further explaination on how this works, please read the article Native Android in Unity.