Log.Message
Static Method in Log
Declaration
public static void Message(object message)
Description
Logs a message to the Unity console.
Parameters
message | The message to log. |
Overload
Declaration
public static void Message(object message, string prefix)
Description
Logs a message to the Unity console with a custom prefix.
Parameters
message | The message to log. |
prefix | The prefix of the message. |
Overload
Declaration
public static void Message(object message, UnityEngine.Object context)
Description
Logs a message to the Unity console under a given context.
Parameters
message | The message to log. |
context | The context of the message. |
Overload
Declaration
public static void Message(object message, string prefix, UnityEngine.Object context)
Description
Logs a message to the Unity console with a custom prefix under a given context.
Parameters
message | The message to log. |
prefix | The prefix of the message. |
context | The context of the message. |
Overload
Declaration
public static void Message(params object[] messages)
Description
Logs multiple messages as a single message to the Unity console.
Parameters
messages | The messages to log. |