public EntourageTalkStepRef GetEntourageTalkStepRef(EntourageTalkType _step) { if (stepDic.ContainsKey(_step)) { return(stepDic[_step]); } return(null); }
/// <summary> /// 尝试冒泡说话 /// </summary> /// <param name="_type"></param> public void TryTalk(EntourageTalkType _type) { if (thisPlayer.headTextCtrl == null) { return; } if (curTalkWaitDic.ContainsKey(_type)) { EntourageTalkCheck check = curTalkWaitDic[_type]; if (check.CanTalk) { check.Reset(); PoPoRef bub = check.CurTalkRefData; if (bub != null) { thisPlayer.headTextCtrl.SetBubble(bub.content, bub.time); } } } }