Beispiel #1
0
 //移动操作
 public void MoveTo(string place)
 {
     //判断是否 首次进入该场景
     if (!string.IsNullOrEmpty(detectEvent.sections[place].entry) && !detectManager.IsEntered(place))
     {
         //结束当前NODE 进入 文本NODE
         ChooseNext(detectEvent.sections[place].entry);
     }
     else
     {
         //普通的移动 UIManager设置新数据
         uiManager.SetDetectNode(this, detectEvent.sections, place, detectEvent.id);
     }
     //修改数据
     detectManager.EnterPlace(place);
 }
Beispiel #2
0
 public void MoveTo(string place)
 {
     //移动操作
     if (!string.IsNullOrEmpty(detectEvent.sections[place].entry) && !detectManager.IsEntered(place))
     {
         //首次进入则触发
         detectManager.EnterPlace(place);
         ChooseNext(detectEvent.sections[place].entry);
     }
     else
     {
         //普通移动
         detectManager.EnterPlace(place);
         uiManager.SetDetectNode(this, detectEvent.sections, place, detectEvent.id);
         uiManager.ShowCharaContainer();
     }
     //section = detectEvent.sections[place];
     //uiManager.LoadSection(section);
     //uiManager.SwitchStatus(Constants.DETECT_STATUS.FREE);
 }