Auto Register Spawnables 2d
|Version:||2019.100||Requirements:||uMMORPG2d, Tools||Script Define:||None|
|Core Changes:||No||Tutorial Video:||No|
Will automatically add all your Entities to the spawnables list of the Network Manager.
- [Required] Inspect your Network Manager found in your scene hierarchy.
- [Required] Click the button labeled Search and Add Network Prefabs.
Pressing the button clears the list and then scans your project for any kind of prefab that has a “NetworkIdentity” and is not set to “ServerOnly”. It will add only those to your Network Managers spawnable prefabs list, in order to make them available for spawn both on the Server as well as on the Clients.
When upgrading from a older version of this AddOn, move your Entities out of the “Resources” folder again and into your uMMORPG prefabs folder. This saves a lot of overhead on large projects!