Skip to main content

DebugLogger

A class in Root.Township, the global namespace.

Lets UnityEvents write to the Unity log.

Constructors​

MemberWhat it is
DebugLogger()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Methods​

MemberWhat it is
void Log(string message)Writes the message with Debug.Log.
void LogError(string message)Writes the message with Debug.LogError.