[UNET] How to hide and unhide game objects on network using UNET?
I am having trouble having a suitable alternative to the local player based GameObject.SetActive(true) function but in(using) UNET. I have a bunch of numbers 0-9 all on top of each other and i would like to reveal one by one based on the button the user presses. For example if a user presses a button that assigns the value 0, 0 would be the one to appear on all the players' screens on the network while the other numbers (they are images assigned with graphics describing their numbers not actual numbers) will remain hidden. If another player on the network decides to change that number to maybe 7, then the previously set 0 would be hidden(GameObject.SetActive(false) equivalent) and the 7 would be set active. I need to use UNET because i need the game to be LAN based. I figured out how to do this using Photon networking but i cant seem to get the hang of it on unet. Any help will be greatly appreciated.
Your answer
Follow this Question
Related Questions
UNET with Secure Firewalls 0 Answers
Bullets showing only on host and weapons not appearing 3 Answers