Search Unity

How to sync light component

Discussion in 'Multiplayer' started by Nicholas1010, Jun 8, 2016.

  1. Nicholas1010

    Nicholas1010

    Joined:
    Aug 2, 2014
    Posts:
    20
    Hello, as you might be able to tell, I am pretty new to Unet.

    I am trying to sync a button that toggles a light, currently it only works client-side (only player that turns off/on light can see change, other player sees it the same way it was before, you get it)

    What would be simple way to do that? Sorry I am pretty confused atm.
     
  2. Kamil-Says

    Kamil-Says

    Joined:
    Jun 30, 2014
    Posts:
    154
    Send rpc/event that you enabled it.