hch
昨天 7222adcc97941b57a61f0f8e8469f0f66b9ee1a1
197 子 【内政】淘金系统 / 【内政】淘金系统-客户端
4个文件已修改
12 ■■■■■ 已修改文件
Main/System/HeroUI/HeroSkinModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/InternalAffairs/GoldRushTentCell.cs 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/InternalAffairs/GoldRushWorkCell.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/InternalAffairs/GoldRushWorkerCell.cs 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/HeroUI/HeroSkinModel.cs
@@ -2,7 +2,7 @@
//武将外观配置
public class HeroModel : MonoBehaviour
public class HeroSkinModel : MonoBehaviour
{
    [SerializeField] UIHeroController heroModel;
    public int heroSkinID = 0;
Main/System/InternalAffairs/GoldRushTentCell.cs
@@ -329,7 +329,7 @@
        Vector3 offset = Vector3.zero;
        if (moveIndex == pathPointArr.Length - 1)
        {
            offset = new Vector3((pathPointArr.Length - workerIndex - 1) * 80, 0, 0);
            offset = new Vector3((pathPointArr.Length - workerIndex - 1) * 70, 0, 0);
        }
        var endPos = nextPos - offset;
@@ -554,6 +554,7 @@
                    }
                    GoldRushManager.Instance.SendGoldRushUnlock(0, campID);
                    refreshItemEffect.Play();
                    SysNotifyMgr.Instance.ShowTip("GoldRush8");
                });
                
@@ -573,6 +574,7 @@
        GoldRushManager.Instance.SendGoldRushUnlock(0, campID);
        refreshItemEffect.Play();
        SysNotifyMgr.Instance.ShowTip("GoldRush8");
    }
}
Main/System/InternalAffairs/GoldRushWorkCell.cs
@@ -77,7 +77,7 @@
                {
                    heroModels[i].SetActive(true);
                    var skinID = GoldRushManager.Instance.skinIDs[(goldID % skinCnt + i) % skinCnt];
                    heroModels[i].Create(skinID, 0.4f);
                    heroModels[i].Create(skinID, 0.5f);
                }
                else
                {
Main/System/InternalAffairs/GoldRushWorkerCell.cs
@@ -21,7 +21,7 @@
    {
        var config = GoldRushWorkerConfig.Get(workerID);
        nameText.text = config.Name;
        heroModel.Create(config.SkinID, 0.7f);
        heroModel.Create(config.SkinID, 0.8f);
        var lockState = GoldRushManager.Instance.GetWorkerLockState(workerID);
        if (lockState == 0)
        {
@@ -45,6 +45,7 @@
                        return;
                    GoldRushManager.Instance.SendGoldRushUnlock(1, workerID);
                    SysNotifyMgr.Instance.ShowTip("GoldRush7");
                });
            }
            lockMoneyBtn.SetActive(false);
@@ -68,6 +69,7 @@
                                return;
                            }
                            GoldRushManager.Instance.SendGoldRushUnlock(1, workerID);
                            SysNotifyMgr.Instance.ShowTip("GoldRush7");
                        });
            });