Search Unity

Sync player transform's scale directly?

Discussion in 'Multiplayer' started by Deleted User, Jun 28, 2015.

  1. Deleted User

    Deleted User

    Guest

    Is there a native way to sync the player transform's scale? Setting transform.localScale for the local player doesn't seem to propagate to other clients automatically via the NetworkTransform.
     
  2. MartinLyne

    MartinLyne

    Joined:
    Apr 25, 2013
    Posts:
    30
  3. Deleted User

    Deleted User

    Guest

    Thanks. For a side-view 2D game, syncing the localScale is pretty often, so there will have to be a SyncVar with a hook function that updates things like player.localScale.