- Home /
NetworkManager add spawnable prefabs through code
Hi, is it possible to add the prefabs to the NetworkManager spawnPrefabs by code? We are in the middle of development and the number of prefabs change frequently so its tiresome to drop the prefabs to the NetworkManager everytime.
I know that i can all the required prefabs through the Resources.Load method. But how can i add the to the Networkmanager to make them spawnable? Is that even possible since spawnPrefabs is read only?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612100307im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Is Unity 2018.1.5f1 compatible with .NET Standard? 0 Answers
"on" and "off" the effect. 0 Answers
Has any one had any success with using the MongoDB driver with Unity5? 3 Answers