// Use this for initialization void Start() { if (serverThread == null) { //启动服务器线程 serverThread = ServerThread.getInstance(); } StartCoroutine("InitData"); StartCoroutine(UnLoad()); }
// Use this for initialization void Start() { if (serverThread == null) { //启动服务器线程 serverThread = ServerThread.getInstance(); } StartCoroutine("InitData"); StartCoroutine(UnLoad()); }