Esempio n. 1
0
 static int Stop(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         UI.CurveMove obj = (UI.CurveMove)ToLua.CheckObject(L, 1, typeof(UI.CurveMove));
         obj.Stop();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Esempio n. 2
0
    static int get_m_duration(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UI.CurveMove obj = (UI.CurveMove)o;
            float        ret = obj.m_duration;
            LuaDLL.lua_pushnumber(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_duration on a nil value" : e.Message));
        }
    }
Esempio n. 3
0
    static int set_m_height(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UI.CurveMove obj  = (UI.CurveMove)o;
            float        arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
            obj.m_height = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_height on a nil value" : e.Message));
        }
    }
Esempio n. 4
0
    static int set_m_endPos(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UI.CurveMove        obj  = (UI.CurveMove)o;
            UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2);
            obj.m_endPos = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_endPos on a nil value" : e.Message));
        }
    }
Esempio n. 5
0
    static int set_m_resetOnEnable(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UI.CurveMove obj  = (UI.CurveMove)o;
            bool         arg0 = LuaDLL.luaL_checkboolean(L, 2);
            obj.m_resetOnEnable = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_resetOnEnable on a nil value" : e.Message));
        }
    }
Esempio n. 6
0
    static int get_m_endPos(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UI.CurveMove        obj = (UI.CurveMove)o;
            UnityEngine.Vector3 ret = obj.m_endPos;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_endPos on a nil value" : e.Message));
        }
    }
Esempio n. 7
0
    static int get_m_resetOnEnable(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UI.CurveMove obj = (UI.CurveMove)o;
            bool         ret = obj.m_resetOnEnable;
            LuaDLL.lua_pushboolean(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_resetOnEnable on a nil value" : e.Message));
        }
    }