DebugHelper.LogIf Method (Func<Boolean>, String, Object) |
[This is preliminary documentation and is subject to change.]
Logs the specified informational message to the Unity console, if the condition evaluates to true.
Namespace:
Umbrace.Unity.PurePool
Assembly:
Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax[ConditionalAttribute("LOG_MESSAGING")]
public static void LogIf(
Func<bool> condition,
string message,
Object context
)
Parameters
- condition
- Type: System.Func<Boolean>
The condition to check. - message
- Type: System.String
The message to log. - context
- Type: UnityEngine.Object
The object to which the message applies.
See Also