#I have made a Chat system but I want the Canvas to be global and not on the Player

3 messages · Page 1 of 1 (latest)

whole vigil
#

Hey I m using Mirror and I have Created a Chat System using
@glad mango chat system tutorial. I have modified the Chat script so the player can chat only when he/she is in a certain proximity and on the bases of proximity I m enabling team chat and global Chat.
I want to make the chat canvas Global can someone help how I can do that as currently the chat system takes the id from the Player

I have Attached my Spaghetti code with this post

jolly canopy
#

you can use [TargetRpc] attr , write a function that open chat panel with targetrpc

this is using for rpc message for only one player its first parameter is NetworkConnection which is message receiver

whole vigil
#

Ok I will try it and post it here if I faced any Problem Thank you