Question by
unity_mA385Aprzy4bkQ · Dec 15, 2017 at 02:00 PM ·
unity5parameterspassandriodcomputer
hi, I have problems regarding the passage of parameters from my native android code to that Unity.
hi, I have problems regarding the passage of parameters from my native android code to that Unity. Using the method:
public void getParams(string message){
if (message == "Ready"){
Dictionary<string, int> coords =**PhotoinputActivity.**CallStatic<Dictionary<string, int>>("getCoords");
Dictionary<string, string> direcs = **PhotoInputActivity**.CallStatic<Dictionary<string, int>>("getDirecs");
// Make the transformations
setRotation(direcs);
setLocation(coords);
}
}
note well: PhotoimputActivity is the name of my android Activity but PhotoinputActivity is marked as an error.I thank you waiting for your solution
Comment