Debug.Log Extensions
Documentation (1.1.9)

◆ LogWarning() [6/16]

static void Debug.LogWarning ( int  channel1,
int  channel2,
[CanBeNull] string  message,
Object  context = null 
)
static

Logs a warning message to the Console on the given channels.

Channels can be used to selectively suppress messages you don't care about at the moment.

Parameters
channel1First channel to which the message belongs.
channel2Second channel to which the message belongs.


Parameters
messageMessage to 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.