Using OnDeserialization

Does anyone have example code of possible ways to use the method OnDeserialization?

I use this function to check if a new joiner has “syned” the public variables from the master (if they are the master I skip it), and then set a flag to True. (I use this for new joiners and then handle stuff for them so they are in sync with a photo gallery)

public override void OnDeserialization()
{

    if (!Networking.IsMaster)
    {
        IsDS = true;
    }
}

Thank you, that’s a great use case!