private IEnumerator LoadVideoList() { string path = NRealTool.GetNrealResPath() + "/MultiScreenVideoList/MultiScreenVideoConfig.xml"; WWW www = new WWW(path); yield return www; if (www.isDone && string.IsNullOrEmpty(www.error)) { videoConfig = XmlSerializeHelper.DeSerialize<VideoConfig>(www.text); CreateVideoItems(); www.Dispose(); www = null; } else { NRDebug.LogError(www.error); } }
private void OnNetConnectError() { NetState = ConnectState.Error; NRDebug.LogError("OnNetConnectError"); }