Пример #1
0
    public static int Setup(IntPtr l)
    {
        int result;

        try
        {
            ScreenFade screenFade = (ScreenFade)LuaObject.checkSelf(l);
            Image      image;
            LuaObject.checkType <Image>(l, 2, out image);
            screenFade.Setup(image);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }