Hi I have a button from a workd space Unity UI object that when pressed uses [SyncVar] to set a bool.
When the player on the server presses the button it syncs across all clients but when a client player presses the button it only occurs locally.
If I use a Command it wont work because the object is not a player.
How do i overcome this without placing a command script on the player itself?
I can't have every object in my game world having to reference the player to send messages to the...
Unet button on object Sync with clients
When the player on the server presses the button it syncs across all clients but when a client player presses the button it only occurs locally.
If I use a Command it wont work because the object is not a player.
How do i overcome this without placing a command script on the player itself?
I can't have every object in my game world having to reference the player to send messages to the...
Unet button on object Sync with clients