UI communication with player components
Hello there,
For past two days I'm struggling with making UI to be able to communicate with Player components, it was working fine until I added 2nd player player [Client] over a Network. I don't really know how should I do this. I was trying to Instantiate Canvas as GameObject and storing it's owner netID into it's own script but when I was trying to make a change for an owner's script with a help of that netID it fails for client or server, depends.
Basically players will have almost the same HUD but when they click on a button I want it to interact with a component attached to them. I hope everyone understands. Please, any ideas? Thanks!
Your answer
Follow this Question
Related Questions
Is playerPrefab in NetworkLobbyManager used for anything at all? 0 Answers
Score UI per player 1 Answer
Need help syncing healthbar 0 Answers