public static int Awake(IntPtr l)
    {
        int result;

        try
        {
            RegionGridEffect regionGridEffect = (RegionGridEffect)LuaObject.checkSelf(l);
            regionGridEffect.m_luaExportHelper.Awake();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int SetFade(IntPtr l)
    {
        int result;

        try
        {
            RegionGridEffect regionGridEffect = (RegionGridEffect)LuaObject.checkSelf(l);
            bool             fade;
            LuaObject.checkType(l, 2, out fade);
            regionGridEffect.SetFade(fade);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int SetDuration(IntPtr l)
    {
        int result;

        try
        {
            RegionGridEffect regionGridEffect = (RegionGridEffect)LuaObject.checkSelf(l);
            float            duration;
            LuaObject.checkType(l, 2, out duration);
            regionGridEffect.SetDuration(duration);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_m_initScale(IntPtr l)
    {
        int result;

        try
        {
            RegionGridEffect regionGridEffect = (RegionGridEffect)LuaObject.checkSelf(l);
            Vector3          initScale;
            LuaObject.checkType(l, 2, out initScale);
            regionGridEffect.m_luaExportHelper.m_initScale = initScale;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_m_isFadeIn(IntPtr l)
    {
        int result;

        try
        {
            RegionGridEffect regionGridEffect = (RegionGridEffect)LuaObject.checkSelf(l);
            bool             isFadeIn;
            LuaObject.checkType(l, 2, out isFadeIn);
            regionGridEffect.m_luaExportHelper.m_isFadeIn = isFadeIn;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_m_delayTime(IntPtr l)
    {
        int result;

        try
        {
            RegionGridEffect regionGridEffect = (RegionGridEffect)LuaObject.checkSelf(l);
            float            delayTime;
            LuaObject.checkType(l, 2, out delayTime);
            regionGridEffect.m_luaExportHelper.m_delayTime = delayTime;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }