//private static ModAgent _modAgent = new ModAgent(); // Use this for initialization void Start() { Debug.Log("GameManager Start"); NetSocket.Instance.Connect("192.168.199.123", 4001); EventName.Install(); GetComponent <ModAgent>().RegisterEvent(); Application.runInBackground = true; }