[Sync] and [Command] Attributes
Sync Attribute
[Sync]
public int health;[Sync("health")]
public float hp;[Sync(DefaultSyncMode = SyncMode.CreationOnly)]
public Color teamColor;Command Attribute
[Command]
public void Heal(int amount)
{
...
}Was this helpful?

