Added support for persistent network objects. Enabling IsPersistent on a NetworkObject will automatically mark it as DontDestroyOnLoad, preventing its instances from being destroyed on scene switches. This is only supported on network prefabs, as scene objects can't be created for a late joiner without going through the full scene changes that occurred before it connected.

This commit is contained in:
Karrar
2024-11-07 01:27:23 +03:00
parent 23f42b633a
commit 69b47ddf69
9 changed files with 1 additions and 1 deletions