Debug.Log Extensions
Documentation (1.1.9)
|
|
static |
Logs an error message to the Console if classMember value is not true
.
Class member can be of type bool or any type that implements IConvertible.
Class member can also be of type Object or any other class type object in which case an error will be logged if its value is null
.
Note that this method only works if UNITY_ASSERTIONS symbol is defined, like for example in development builds.
classMember | Expression pointing to the class member with the expected value. |
context | Object to which the assertion applies. |