예제 #1
0
 /// <summary>
 /// 发送文本信息
 /// </summary>
 /// <param name="str"></param>
 public void SendMessage(string str)
 {
     if (Application.platform == RuntimePlatform.Android)
     {
         NativeManager.OnFuncCall("IMSendMessage", str);
     }
     else if (Application.platform == RuntimePlatform.IPhonePlayer)
     {
         NativeManager.IMSendMessage(str);
     }
 }