Hello,
I’m wondering, how can I make a label shows Local IP Address?
Is there any function to show the IP?
Thanks,
Hello,
I’m wondering, how can I make a label shows Local IP Address?
Is there any function to show the IP?
Thanks,
There is networked player ipaddress:
Can you tell me the context?
The label would probably be GUI.Label or GUILayout.Label and for the details, you’d use NetworkPlayer.ipAddress / var ipAddress : String
I will use like that :
GUI.Label (Rect (0,0, 100, 20), NetworkPlayer.ipAddress);
But gives error : … is required to access non static member “ipAddress”
Can you paste the entire error message? That seems like the last half of a standard error. I can guess what I think the error is, but it would be good to know the entire context.