Ejemplo n.º 1
0
    static int DestroyHUD(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        NNCount obj = (NNCount)LuaScriptMgr.GetUnityObjectSelf(L, 1, "NNCount");

        obj.DestroyHUD();
        return(0);
    }
Ejemplo n.º 2
0
    static int toShakeStyle(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        NNCount obj = (NNCount)LuaScriptMgr.GetUnityObjectSelf(L, 1, "NNCount");

        obj.toShakeStyle();
        return(0);
    }
Ejemplo n.º 3
0
    static int UpdateLabelTime(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        NNCount obj  = (NNCount)LuaScriptMgr.GetUnityObjectSelf(L, 1, "NNCount");
        int     arg0 = (int)LuaScriptMgr.GetNumber(L, 2);

        obj.UpdateLabelTime(arg0);
        return(0);
    }
Ejemplo n.º 4
0
    static int get_m_TimeLab(IntPtr L)
    {
        object  o   = LuaScriptMgr.GetLuaObject(L, 1);
        NNCount obj = (NNCount)o;

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

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

        LuaScriptMgr.Push(L, obj.m_TimeLab);
        return(1);
    }
Ejemplo n.º 5
0
    static int set_soundCount(IntPtr L)
    {
        object  o   = LuaScriptMgr.GetLuaObject(L, 1);
        NNCount obj = (NNCount)o;

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

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

        obj.soundCount = (AudioClip)LuaScriptMgr.GetUnityObject(L, 3, typeof(AudioClip));
        return(0);
    }
Ejemplo n.º 6
0
    static int set_m_TimeLab(IntPtr L)
    {
        object  o   = LuaScriptMgr.GetLuaObject(L, 1);
        NNCount obj = (NNCount)o;

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

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

        obj.m_TimeLab = (UILabel)LuaScriptMgr.GetUnityObject(L, 3, typeof(UILabel));
        return(0);
    }