IPunObservable question

Options
Hello!

Only can I update the value of a variable inside an observable script if I have the control over that object? I am trying to update value from the non-local object to all other client but the values only update if I have control over that object.

I need to solve this using events ?
Thank you.

Comments

  • jorge8a
    Options
    Guys, I solved this situation synchronizing the values using RPC methods.
  • Tobias
    Options
    This doc might guide you. Let us know if it doesn't cover your case.
  • jorge8a
    Options
    Thank you Tobias for your answer. But, how can i set custom properties for an object different to player and room ? for example, if I have a door owed by the master client ?

    Thanks