- Home /
 
 
               Question by 
               Warptarium · Oct 20, 2018 at 09:40 PM · 
                unity 5networkinglan  
              
 
              Unet LAN Connection Function
I need a function to go into ConnectToLan to connect to the player. How would I go about doing that?
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.Networking.Match;
public class CustomNetworkManager : NetworkManager {
 private int serverPort = 7777;
 public void StartHosting()
 {
     base.StartHost();
 }
   
 public void ConnectToLan ()
 {
     
 }
 
 
               }
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
Unet Timeout Issues 4 Answers
UNet - Change scene in LAN 1 Answer
How to Connect() in LAN, not working? 1 Answer
OnReceivedBroadcast not being called with Network Discovery 1 Answer
I want to set play scene of network lobby manger through script 0 Answers