Exemplo n.º 1
0
        public static void ExecuteIf(string flagExpression, System.Action callback)
        {
            JollyDebug self = JollyDebug.Instance;

            if (self.EvaluateFlagExpression(flagExpression))
            {
                callback.Invoke();
            }
        }
Exemplo n.º 2
0
        public static void LogExceptionIf(string flagExpression, string message, params object[] args)
        {
            JollyDebug self = JollyDebug.Instance;

            if (self.EvaluateFlagExpression(flagExpression))
            {
                JollyDebug.LogException(message, args);
            }
        }