![]() |
Debug.Log Extensions
Documentation (1.1.9)
|
|
static |
Logs an error message to the Console if condition is not true
and returns true
if condition was false
or true
if it was not.
This can be useful for checking that the arguments passed to a function are valid and if not returning early with an error.
condition | Condition you expect to be true . |
channel | The channel to which the message belongs if logged. |
context | Object to which the assertion applies. |
true
if condition was false
; otherwise, false
.