- Home /
UnitySendMessage on Android
How do you implement this on Android?
I have import com.unity3d.player.UnityPlayerActivity (no problem)
but for some reason I cannot seem to use UnityPlayerActivity.UnitySendMessage ...
cannot find symbol [javac] symbol : method UnitySendMessage(java.lang.String,java.lang.String ,java.lang.String) [javac] location: class com.unity3d.player.UnityPlayerActivity [javac] UnityPlayerActivity.UnitySendMessage("Main Camera","FingerTouch","ypi");
Answer by $$anonymous$$ · Sep 27, 2012 at 02:55 PM
The UnitySendMessage is not located in the UnityPlayerActivity but in the UnityPlayer. So: UnityPlayerActivity.UnitySendMessage Should be: UnityPlayer.UnitySendMessage
Your answer
Follow this Question
Related Questions
Android SendMessage 1 Answer
App in background still receive UnityPlayer.UnitySendMessage from Android plugin, normal ? 0 Answers
Unity Touch=2 commends? 1 Answer
C# Script from Native Android Service 1 Answer
Send data from Android to Unity 3 Answers