- Home /
Question by
DoubleLee · Jan 08, 2017 at 03:28 AM ·
networkingnetworknetworkplayer
Network Player prefab in my scene, how to automatically delete it on all clients/server when scene loaded?
I want to detect and destroy the dummy prefab in the scene. I am trying to improve my workflow SIGNIFICANTLY by allowing my self to leave the prefab in the scene instead of constantly adding/updating/deleting it from the scene when I want to make changes and then run.
This object is obviously not a real player and not spawned by the server. How can I detect this in perhaps the .Awake() method of the networkbehaviour?
Comment