Hi there, I hope someone can help me.
I’m currently working a Twitch message system and I’d like the message to show up in game, and not in the chat itself. Any suggestions on what I’m doing wrong?
I keep getting the error;
error CS0019: Operator ‘/’ cannot be applied to operands of type ‘int’ and ‘string’
I would also like to have each message appear under one another.
_Text.text = ("".ToString() + botChatManager.SendMessage(apiManager.GetLogin(), $"{e.ChatMessage.DisplayName} THANKYOU ".ToString() + playerStats.storedDamage * 2 / enemyStats.DEF.ToString()));
For context, ‘kappa’ (face) is what triggers the message.
Any help is greatly appreciated.
Thank you
PS: I did not write this code initially. I’m trying to add it as a visual within the game.