Debug.Log Extensions
Documentation (1.1.9)
|
|
static |
If condition is false
logs to the Console on the given channel an error message and returns false
.
If condition is true
returns true
without logging anything.
An error is only logged the first time during a session that the condition evaluates to false
to avoid flooding the log file.
In release builds an error will only be logged if the UNITY_ASSERTIONS symbol is defined.
channel | The channel to which the message belongs if logged. |
condition | Condition you expect to be true . |
context | Object to which the assertion applies. |
true
if condition was true
; otherwise, false
.