Debug.Log Extensions
Documentation (1.1.9)
|
|
static |
Logs a message to the Console on the given channel .
public IEnumerator PlaySound(float delay, AudioId audioId) { Debug.Log(Channel.Audio, "Playing {audioId} in {delay} seconds.", this);
yield return new WaitForSeconds(delay);
audioController.Play(audioId); }
channel | The channel to which the message belongs. |
message | string or object to be converted to string representation for display. |
context | Object 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.