Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | WindowCenter.Instance.Close<NormalCollectWin>(); |
| | | m_StartCollect = false; |
| | | var _hero = PlayerDatas.Instance.hero; |
| | | if (_hero != null && _hero.ActorInfo.serverDie) |
| | | if (_hero != null && !_hero.ActorInfo.serverDie) |
| | | { |
| | | if (_hero.IsCollect()) |
| | | { |
| | |
| | |
|
| | | OnUnit();
|
| | |
|
| | | belongEventID = -1;
|
| | | State = E_ActorState.Idle;
|
| | | DestPos = Vector3.zero;
|
| | | ActorInfo.serverDie = true;
|
| | |
| | | CameraController.Instance.StopZoom();
|
| | | CameraController.Instance.StopShake();
|
| | | }
|
| | |
|
| | | if (AdventureStage.Instance.IsInAdventureStage)
|
| | | {
|
| | | AdventureStage.Instance.Exit();
|
| | | }
|
| | |
|
| | | ClientSceneManager.Instance.UnInit();
|
| | | GAMgr.Instance.UnInit();
|
| | | DropItemManager.ReleaseAll();
|
| | |
| | | var config = ItemConfig.Get(item.id);
|
| | | if (config != null)
|
| | | {
|
| | | m_GainRemind.text = string.Format("获得{0}个{1}", item.count, config.ItemName);
|
| | | m_GainRemind.text = Language.Get("DungeonCollectSucc", item.count, config.ItemName);
|
| | | }
|
| | |
|
| | | if (clock != null)
|