1-Set color of button as a sync var
2-Spawn different “control” objects for each player
3-Player sends Command to the “control” object
4-“control” object changes the color button.
It’s also possible to achieve this functionality using network messages.
Hmm… I tried several ways but I couldn’t make it. I spawned controller prefab with server only property. Next I linked player prefab, button prefab, controller prefab via ‘public gameObject’
I think I actually don’t know the concept of Commands maybe. Did you mean to activate command function inside of controller such as CmdChangeColor(){ getcomponent of button and change the color }