示例#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));
     }
 }
示例#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));
        }
    }
示例#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));
        }
    }
示例#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));
        }
    }
示例#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));
        }
    }
示例#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));
        }
    }
示例#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));
        }
    }