How can I color that string in code
private void HandleChatSpam()
{
PlayerScript playerScript = PlayerScript.FromPhoton(PhotonNetwork.player);
playerScript.ChatMessage("mpgh.net - BlackBoom pub build");
}
How can I color text in line here ChatMessage("mpgh.net - BlackBoom pub build");
text that I want to color (green) is mpgh.net - BlackBoom pub build
I already tried:
playerScript.ChatMessage(Color.green, "mpgh.net - BlackBoom pub build");
But I get this error
no overload for method 'ChatMessage' takes 2 arguments
What is ChatMessage
private void ChatMessage(string)
it's in reference