- Home /
Network functions doesn't work
When I try to use Network functions I get this compiler error:
'....' is not a member of 'Network' .
I just copied the code from the refference, so bad coding can't be the problem. In another project it just works fine.
This is my code:
function LaunchServer () {
Network.incomingPassword = "HolyMoly";
var useNat = !Network.HavePublicAddress();
Network.InitializeServer(32, 25000, useNat);
}
Comment
Did you call your script Network? That might be conflicting with it...
Your answer
Follow this Question
Related Questions
Network View glitch? 0 Answers
Serializable doesnt work 1 Answer
I can't get it to activate when i press space 3 Answers
AdMobPlugin doesn't show.. 1 Answer
Simple Collision with children of other GameObject doesnt work 1 Answer