UnityEssentials
Small but useful tools and features for Unity
Static Public Member Functions | List of all members
UnityEngine.DebugExtensions Class Reference

Extensions for Debug More...

Collaboration diagram for UnityEngine.DebugExtensions:
Collaboration graph

Static Public Member Functions

static void LogEnumerable< T > (this Debug db, IEnumerable< T > enumerableToDebug, string separator=", ", string message="", Object context=null)
 Creates a 'Debug.Log' message with all the contents in the enumerable. More...
 

Detailed Description

Extensions for Debug

Definition at line 9 of file DebugExtensions.cs.

Member Function Documentation

◆ LogEnumerable< T >()

static void UnityEngine.DebugExtensions.LogEnumerable< T > ( this Debug  db,
IEnumerable< T >  enumerableToDebug,
string  separator = ", ",
string  message = "",
Object  context = null 
)
static

Creates a 'Debug.Log' message with all the contents in the enumerable.

Parameters
separatorThe string that will be in-between each string of each element (the default is ', ').
messageThe message that will be displayed at the beginning of the 'Debug.Log' message.
contextObject to which the message applies.

Definition at line 17 of file DebugExtensions.cs.


The documentation for this class was generated from the following file: