示例#1
0
    static int inputChanged(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        Local_Login obj = (Local_Login)LuaScriptMgr.GetUnityObjectSelf(L, 1, "Local_Login");

        obj.inputChanged();
        return(0);
    }
示例#2
0
    static int set_localServerIP_IP(IntPtr L)
    {
        object      o   = LuaScriptMgr.GetLuaObject(L, 1);
        Local_Login obj = (Local_Login)o;

        if (obj == null)
        {
            LuaTypes types = LuaDLL.lua_type(L, 1);

            if (types == LuaTypes.LUA_TTABLE)
            {
                LuaDLL.luaL_error(L, "unknown member name localServerIP_IP");
            }
            else
            {
                LuaDLL.luaL_error(L, "attempt to index localServerIP_IP on a nil value");
            }
        }

        obj.localServerIP_IP = (UIInput)LuaScriptMgr.GetUnityObject(L, 3, typeof(UIInput));
        return(0);
    }