Hello there,
For past two days I’m struggling with making UI to be able to communicate with Player Scripts, 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!