Answers for "StringLoggingExtensions.cs unity"

C#
0

StringLoggingExtensions.cs unity

// Update is called once per frame
void Update ()
{
    var message = "Hello, World!";
    // Print the message in green.
    Debug.Log (message.Colored (Colors.green));
 
    // Compose different formatting together.
    Debug.Log (message.Bold().Sized(16));
 
    // Works with LogError as well.
    Debug.LogError (message.Italics());
}
Posted by: Guest on September-20-2021

C# Answers by Framework

Browse Popular Code Answers by Language