- Home /
Multiplayer UNet doesn't use UnityEngine.Network anymore right?
I believe the new UNet doesn't use UnityEngine.Network, and it's a legacy class, right?
Things like
Network.isServer, Network.isClient
Now should be replaced by NetworkServer and NetworkClient as:
NetworkServer.active, NetworkClient.active
I'm just a bit confused because Unity doesn't make it as legacy here, as they did for legacy Master Server scripts...
Answer by Bunny83 · Oct 26, 2016 at 02:57 PM
Yes, they most likely forgot to mark it as lagacy. The documentation often "lags behind" the current state. Feel free to file a bug report. there is a category "documentation".
Answer by NebuTube · Oct 26, 2016 at 02:47 PM
Idk what do you mean but you need use using UnityEngine.Networking; not UnityEngine.Network!
He doesn't talk about the namespace but about the old Network class
Your answer
Follow this Question
Related Questions
OnSerializeNetworkView Doesn't work Until Owner moves the Object! 0 Answers
are you sure the server can be connected to? 1 Answer
Unity networking tutorial? 6 Answers
Can i make multiplayer game without unity multiplayer service ? 1 Answer
NetworkServer.dontListen not working - How do I stop clients connecting? 2 Answers