void Awake() { udp = new UDPEndPoint(); udp.listenPort = port; if (handle == null) { handle = GetComponent <MessageHandle>(); } }
public UDPListener(UDPEndPoint host) { this.host = host; }
void Awake() { udp = new UDPEndPoint(); udp.listenPort = port; if (handle == null) { handle = GetComponent <MessageHandle>(); } }
public UDPListener(UDPEndPoint host) { this.host = host; }