コード例 #1
0
    public static int Pause_s(IntPtr l)
    {
        int result;

        try
        {
            bool pause;
            LuaObject.checkType(l, 1, out pause);
            AudioUtility.Pause(pause);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }