Java – How do I call unity C# functions from Android plugins?

How do I call unity C# functions from Android plugins?… here is a solution to the problem.

How do I call unity C# functions from Android plugins?

I know how to call android functions using “AndroidJavaClass” and “AndroidJavaObject” in unison

But what I don’t know and want to know is —
How do I call a function present in Unicode from the Android Java plugin?

How do I call a unity C# function from an Android plugin?

Solution

Try this :

UnityPlayer.UnitySendMessage("gameobjectname", "methodname", "message");

Related Problems and Solutions