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

Class containing additional methods to ease debugging while developing a game. More...

Collaboration diagram for UnityEngine.DebugEssentials:
Collaboration graph

Static Public Member Functions

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

Detailed Description

Class containing additional methods to ease debugging while developing a game.

Definition at line 8 of file DebugEssentials.cs.

Member Function Documentation

◆ LogEnumerable< T >()

static void UnityEngine.DebugEssentials.LogEnumerable< T > ( 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 DebugEssentials.cs.

◆ LogErrorEnumerable< T >()

static void UnityEngine.DebugEssentials.LogErrorEnumerable< T > ( IEnumerable< T >  enumerableToDebug,
string  separator = ", ",
string  message = "",
Object  context = null 
)
static

Creates a 'Debug.LogError' 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 39 of file DebugEssentials.cs.

◆ LogWarningEnumerable< T >()

static void UnityEngine.DebugEssentials.LogWarningEnumerable< T > ( IEnumerable< T >  enumerableToDebug,
string  separator = ", ",
string  message = "",
Object  context = null 
)
static

Creates a 'Debug.LogWarning' 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 28 of file DebugEssentials.cs.


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