# SceneUpdateHandle



```
    /// <summary>
    /// 网络场景推动玩家同步更新处理线程, 如果想自己处理场景同步, 可重写此方法让同步失效
    /// </summary>
    protected virtual void SceneUpdateHandle()
    {
        while (IsRunServer)
        {
            try
            {
                Thread.Sleep(SyncSceneTime);
                Parallel.ForEach(Scenes.Values, scene =>
                {
                    scene.Update(this);
                });
            }
            catch (Exception ex)
            {
                Debug.LogError("场景更新异常:" + ex);
            }
        }
    }
```
