- Home /
Question by
bukka · May 20, 2013 at 03:12 PM ·
gameobjectnetworkingprefab
Networking troubles with prefab
Hello everybody! I am creating networking shooter game. I have made bot which can kill player. When I tested my game without networking my player was a gameobject. When bot bullet collides with my player his health--. Everything was ok. Then I made a prefab, put on it my player. So now I am creating its prefab by Networking.Instantiate. And now when bot strikes my player its health-- but it all goes with main prefab in resources, not with that I've created. How can I solve this problem? I must store somewhere all prefabs created by Networking.Instantiate and make all changes with them? Thanks for help!
Comment