Is there a way to use Network.Connect() in code but without button attached to it ?
if(GUILayout.Button("Join"))
{
Network.Connect(IP,25001);
}
I want to load a scene and on load connect automatically to a server but i dont want the player to press connect button in the scene in order to connect. Using Network.Connect() in code doesnt seem to work individualy is there another way?