Ejemplo n.º 1
0
    private void Awake() {
        // Init network manager
        _nw = GetComponent<MyNetManager>();
        _nw.networkAddress = LOCAL_IP;
        _nw.networkPort = PORT;

        _nd = GetComponent<MyNetDiscovery>();
    }
Ejemplo n.º 2
0
 void Start()
 {
     instance = this;
     Initialize();
 }