private void RenderInfo() { if (bInited && m_plotInfo != null) { LayerManager.GetInstance().UILayer.SetActive(false); KHeroSetting heroSetting = KConfigFileManager.GetInstance().GetHeroSetting(m_plotInfo.nNpcID); if (heroSetting != null) { DiologueNpcNameLabel.text = heroSetting.Name; } fNappTime = 0; DialogueComtentLabel.text = m_plotInfo.Content; if (camera != null) { if (m_plotInfo.strCameraPosition != null && m_plotInfo.strCameraPosition != "0") { string[] posTemp = m_plotInfo.strCameraPosition.Split(':'); if (posTemp.Length == 3 && camera != null) { Vector3 vecPosition = MapUtils.GetMetreFromInt(int.Parse(posTemp[0]), int.Parse(posTemp[2]), int.Parse(posTemp[1])); camera.PlayPlot(m_plotInfo.plotType, vecPosition, m_plotInfo.fCameraDis); } } } } }