Exemplo n.º 1
0
 public void GetInitInfo()
 {
     if (LuaCallCSharpMacro.IS_NEED_LOSD_USER_INFO())
     {
         if (LuaCallCSharpMacro.UNITY_IOS())
         {
             NativeCenter.InvokeIosNativeMethod("getInitInfo");
         }
         else if (LuaCallCSharpMacro.UNITY_ANDROID())
         {
             NativeCenter.InvokeAndroidNativeMethod("getInitInfo");
         }
     }
 }
Exemplo n.º 2
0
    IEnumerator StartRunNativeToU3dCallBack(string data)
    {
        yield return(new WaitForSeconds(0.2f));

        NativeCenter.u3dToNativeFunction(data);
    }
Exemplo n.º 3
0
 private void Awake()
 {
     ms_Instance = this;
 }