Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

Unity doesn't recognize any definition for Network

$
0
0
I created a new project with the intent of learning how to create a server and connect to it but I have been stuck on the very first step: if (Network.peerType == NetworkPeerType.Disconnected){ } gives me an error CS0117 -error CS0117: `Network' does not contain a definition for `peerType' I checked the scripting manual and everything seems to be in order. Anyone might know whats the problem? Do I need scripting assets? Edit: same thing happened for Network.connect(), he has no definition for it

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>