Beispiel #1
0
    public static int get_m_loopFxs(IntPtr l)
    {
        int result;

        try
        {
            TouchFx touchFx = (TouchFx)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, touchFx.m_luaExportHelper.m_loopFxs);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #2
0
    public static int Dispose(IntPtr l)
    {
        int result;

        try
        {
            TouchFx touchFx = (TouchFx)LuaObject.checkSelf(l);
            touchFx.Dispose();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #3
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            TouchFx o = new TouchFx();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #4
0
    public static int SetLoopFxName(IntPtr l)
    {
        int result;

        try
        {
            TouchFx touchFx = (TouchFx)LuaObject.checkSelf(l);
            string  loopFxName;
            LuaObject.checkType(l, 2, out loopFxName);
            touchFx.SetLoopFxName(loopFxName);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #5
0
    public static int set_m_loopFxs(IntPtr l)
    {
        int result;

        try
        {
            TouchFx          touchFx = (TouchFx)LuaObject.checkSelf(l);
            GenericGraphic[] loopFxs;
            LuaObject.checkArray <GenericGraphic>(l, 2, out loopFxs);
            touchFx.m_luaExportHelper.m_loopFxs = loopFxs;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #6
0
    public static int set_m_touchStates(IntPtr l)
    {
        int result;

        try
        {
            TouchFx touchFx = (TouchFx)LuaObject.checkSelf(l);
            List <TouchFx.TouchState> touchStates;
            LuaObject.checkType <List <TouchFx.TouchState> >(l, 2, out touchStates);
            touchFx.m_luaExportHelper.m_touchStates = touchStates;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #7
0
    public static int set_m_fxPlayer(IntPtr l)
    {
        int result;

        try
        {
            TouchFx  touchFx = (TouchFx)LuaObject.checkSelf(l);
            FxPlayer fxPlayer;
            LuaObject.checkType <FxPlayer>(l, 2, out fxPlayer);
            touchFx.m_luaExportHelper.m_fxPlayer = fxPlayer;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #8
0
    public static int set_m_graphicPool(IntPtr l)
    {
        int result;

        try
        {
            TouchFx     touchFx = (TouchFx)LuaObject.checkSelf(l);
            GraphicPool graphicPool;
            LuaObject.checkType <GraphicPool>(l, 2, out graphicPool);
            touchFx.m_luaExportHelper.m_graphicPool = graphicPool;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #9
0
    public static int set_m_disableInputGameObject(IntPtr l)
    {
        int result;

        try
        {
            TouchFx    touchFx = (TouchFx)LuaObject.checkSelf(l);
            GameObject disableInputGameObject;
            LuaObject.checkType <GameObject>(l, 2, out disableInputGameObject);
            touchFx.m_luaExportHelper.m_disableInputGameObject = disableInputGameObject;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #10
0
    public static int set_m_camera(IntPtr l)
    {
        int result;

        try
        {
            TouchFx touchFx = (TouchFx)LuaObject.checkSelf(l);
            Camera  camera;
            LuaObject.checkType <Camera>(l, 2, out camera);
            touchFx.m_luaExportHelper.m_camera = camera;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #11
0
    public static int set_m_hitFxName(IntPtr l)
    {
        int result;

        try
        {
            TouchFx touchFx = (TouchFx)LuaObject.checkSelf(l);
            string  hitFxName;
            LuaObject.checkType(l, 2, out hitFxName);
            touchFx.m_luaExportHelper.m_hitFxName = hitFxName;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #12
0
    public static int Tick(IntPtr l)
    {
        int result;

        try
        {
            TouchFx touchFx = (TouchFx)LuaObject.checkSelf(l);
            float   dt;
            LuaObject.checkType(l, 2, out dt);
            touchFx.Tick(dt);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #13
0
    public static int SetTouchFXParentActive(IntPtr l)
    {
        int result;

        try
        {
            TouchFx touchFx = (TouchFx)LuaObject.checkSelf(l);
            bool    touchFXParentActive;
            LuaObject.checkType(l, 2, out touchFXParentActive);
            touchFx.SetTouchFXParentActive(touchFXParentActive);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #14
0
    public static int Init(IntPtr l)
    {
        int result;

        try
        {
            TouchFx    touchFx = (TouchFx)LuaObject.checkSelf(l);
            GameObject parent;
            LuaObject.checkType <GameObject>(l, 2, out parent);
            Camera camera;
            LuaObject.checkType <Camera>(l, 3, out camera);
            touchFx.Init(parent, camera);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }