Debug.Log Extensions
Documentation (1.1.9)

◆ LogWarning() [2/16]

static void Debug.LogWarning ( [CanBeNull] object  message,
[CanBeNull] Object  context 
)
static

Logs a warning message to the Console.

Parameters
messagestring or object to be converted to string representation for display.
contextObject to which the message applies.

If you pass a context argument that Object will be momentarily highlighted in the Hierarchy window when you click the log message in the Console.