| | |
| | | var hero = PlayerDatas.Instance.hero;
|
| | | hero.Pos = PlayerBornPosition;
|
| | | CameraController.Instance.Apply();
|
| | |
|
| | | hero.Behaviour.StartHandupAI();
|
| | | } |
| | | |
| | | void InitializeNpc()
|
| | |
| | | m_AlphaTween.from = 0f;
|
| | | m_AlphaTween.to = 1f;
|
| | |
|
| | | PlayerDatas.Instance.hero.Behaviour.StopHandupAI();
|
| | | MapTransferUtility.Instance.Clear();
|
| | | PlayerDatas.Instance.hero.StopPathFind();
|
| | | PlayerDatas.Instance.hero.StopAll();
|
| | |
|
| | | Display();
|
| | | m_AlphaTween.SetStartState();
|
| | |
| | | {
|
| | | UpdateTreasureState();
|
| | | }
|
| | | if (model.treasureGotoId != 0 && model.treasureGotoId != 101)
|
| | | if (model.treasureGotoId != 0)
|
| | | {
|
| | | UI3DTreasureSelectStage.Instance.OnPointDownTreasure(model.treasureGotoId);
|
| | | model.treasureGotoId = 0;
|
| | |
| | | private void OnUnlockComplete()
|
| | | {
|
| | | UpdateButtonState();
|
| | | if (UI3DTreasureSelectStage.Instance.selectTreasure == 101)
|
| | | {
|
| | | m_ContainerNewGuide.gameObject.SetActive(true);
|
| | | TimeMgr.Instance.Register(m_ContainerNewGuide, (Component _comp) =>
|
| | | {
|
| | | m_ContainerNewGuide.gameObject.SetActive(false);
|
| | | }, 1.5f);
|
| | | }
|
| | | }
|
| | |
|
| | | private void ReclickSelect(TreasureCategory category)
|