protected virtual void OnEnable() { StateSyncManager.Register(this); }
protected virtual void OnDisable() { StateSyncManager.Unregister(this); }
protected virtual void Awake() { _uniqueId = StateSyncManager.GetUniqueId(); _rb = GetComponent <Rigidbody>(); Debug.Assert(Prefab != SyncObject.None); }