// Start is called before the first frame update void Start() { Debug.Log("running"); rEvent = new RightEvent(this.NextRoad); lEvent = new LeftEvent(this.LastRoad); uEvent = new UpEvent(this.Act); client = new UnityClient(); if (client.Init("192.168.16.112", 9100) < 0) { Debug.Log("Connect peer failed"); return; } Debug.Log("Init ok"); }