• Log to Unity Academy Embedded Frontend's console, with red font color as highlighting.

    Note that this function does not "really" throw any error. It just logs a message with red font color and the student code will continue running normally after calling this function to log the error.

    You can use rich text for the parameter content.

    Parameters

    • content: any

      The content of the log message.

    Returns void

Generated using TypeDoc