| Fight/GameActor/GAMgr.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Fight/GameActor/GAMgr.cs
@@ -110,7 +110,7 @@ } Debug.LogFormat("共有: {0} 只宠物", _petList.Count); GA_Player _player = null; foreach (var _pet in _petList) { var _parentID = _pet.ActorInfo.ownerSID; @@ -119,6 +119,13 @@ continue; } _player = GetBySID(_parentID) as GA_Player; if (_player == null || !_player.ShowOrHide) { _pet.ShowOrHideModel(false); Debug.LogFormat("宠物: {0} 的拥有者: {1} 不可见, 这里隐藏.", _pet.ServerInstID, _parentID); } var _index = BattleEffectPlayRule.Instance.GetIndex(_parentID); if (_index != -1 && _index < BattleEffectPlayRule.Instance.petLimit) {