Esempio n. 1
0
    static int ToString(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        UnityEngine.Events.UnityEventBase obj = (UnityEngine.Events.UnityEventBase)LuaScriptMgr.GetNetObjectSelf(L, 1, "UnityEngine.Events.UnityEventBase");
        string o = obj.ToString();

        LuaScriptMgr.Push(L, o);
        return(1);
    }
Esempio n. 2
0
 static new public int ToString(IntPtr l)
 {
     try {
         UnityEngine.Events.UnityEventBase self = (UnityEngine.Events.UnityEventBase)checkSelf(l);
         var ret = self.ToString();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int QPYX_ToString_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 1);
         UnityEngine.Events.UnityEventBase QPYX_obj_YXQP = (UnityEngine.Events.UnityEventBase)ToLua.CheckObject <UnityEngine.Events.UnityEventBase>(L_YXQP, 1);
         string QPYX_o_YXQP = QPYX_obj_YXQP.ToString();
         LuaDLL.lua_pushstring(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Esempio n. 4
0
 static int ToString(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         UnityEngine.Events.UnityEventBase obj = (UnityEngine.Events.UnityEventBase)ToLua.CheckObject(L, 1, typeof(UnityEngine.Events.UnityEventBase));
         string o = obj.ToString();
         LuaDLL.lua_pushstring(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }