- Home /
Question by
aclee · Apr 05, 2014 at 12:12 PM ·
javascripterrornetworking
fake error
i am getting compiler error witch i think are fake, here is the script
function Start() {
MasterServer.ipAddress = "127.0.0.1";
MasterServer.port = 23466;
}
i am getting: 'ipAddress' is not a member of 'MasterServer' 'port' is not a member of 'MasterServer'
Comment
Answer by thornekey · Apr 05, 2014 at 01:49 PM
is MasterServer a script name?
if so do
MasterServer().ipAddress = "127.0.0.1";
MasterServer().port = 23466;
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
BCE0049 error with network script 0 Answers
Gun Rotation 2 Answers
BCE0022: Cannot convert 'UnityEngine.Sprite to 'UnityEngine.SpriteRenderer' 1 Answer
Errors with script using Javascript. 2 Answers