public bool HandleForTalk(StoryInfoDetailsBean itemData) { //进入对话; UIGameText uiComponent = UIHandler.Instance.manager.OpenUIAndCloseOther <UIGameText>(UIEnum.GameText); uiComponent.SetData(TextEnum.Story, itemData.text_mark_id); return(false); }
/// <summary> /// 调查事件触发 /// </summary> /// <param name="markId"></param> public bool EventTriggerForLook(long markId) { if (!CheckEventTrigger()) { return(false); } SetEventStatus(EventStatusEnum.EventIng); SetEventType(EventTypeEnum.Look); //暂停时间 GameTimeHandler.Instance.SetTimeStop(); //控制模式修改 GameControlHandler.Instance.StopControl(); UIGameText uiGameText = UIHandler.Instance.manager.OpenUIAndCloseOther <UIGameText>(UIEnum.GameText); uiGameText.SetCallBack(this); uiGameText.SetData(TextEnum.Look, markId); return(true); }