语言

Menu
Sites
Language
Calling UnitySendMessage.

Hi i have a shared library and i want to callback to Unity code.I have declared UnitySendMessage as

void UnitySendMessage(char *gameObject,char *methodName, char *message);

But calling this method gives me linking error.

How to impliment it.

响应

3 回复
colin Rao

Hi,

I am not familiar the Unity, also I don't find such API from the help doc. Seems the Tizen don't support the Unity natively. 

But, Tizen support the OpenGL natively, I am just thinking is it possible to use the OpenGL in your case?

rohit sijwali

Hi , It is mentioned in unity Doc that Unity Tizen supports limited native-to-managed callback functionality via UnitySendMessage. The link is http://docs.unity3d.com/Manual/PluginsForTizen.html/ . But how can i do that.

Sukwon Suh

Dear All,

 

The latest Tizen SDK (currently 2.4 rev2) support link options below

-Wl,--no-undefined option

 

You can find it on Settings > C++ Linker > Shared Library Settings.

 

Thank you.