| Core/Editor/AssetBundleBrowser/AssetBundleBuildTab.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Hooks/commit-msg | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Dogz/DogzCell.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Dogz/DogzModel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Dogz/DogzWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Dogz/SelectCell.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Utility/FontUtility.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Utility/UIHelper.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Core/Editor/AssetBundleBrowser/AssetBundleBuildTab.cs
@@ -571,7 +571,7 @@ private void ExcuteBuildUI() { AssetSource.allFromEditor = true; CheckFontSwitch.CheckAndReplaceFontSwitch(); //CheckFontSwitch.CheckAndReplaceFontSwitch(); UpdateUIPrefabSetting.SetAllUIPrefabAssetBundleName(); UpdateUIWindowSetting.SetAllUIWindowAssetBundleName(); UpdateSpriteSetting.SetAllSpriteAssetBundleName(); Hooks/commit-msg
@@ -1,9 +1,9 @@ #!/bin/sh # -*- coding: UTF-8 -*- if [ "$(grep -in '^[0-9]*[1-9][0-9]* .*' "$1")" == "" ] && [ "$(grep -in '^Merge .*' "$1")" == "" ] && [ "$(grep -in '^Revert .*' "$1")" == "" ]; then if [ "$(grep -in '^[0-9]\{4,5\} .*' "$1")" == "" ] && [ "$(grep -in '^Merge .*' "$1")" == "" ] && [ "$(grep -in '^Revert .*' "$1")" == "" ]; then echo 以下3种是正确的备注信息是: echo 1. 12345 正常提交备注信息必须以数字单号开头。#数字单号后面带空格# echo 1. 12345 正常提交备注信息必须以4到5位数字单号开头。#数字单号后面带空格# echo 2. Merge 以Merge开头说明这是一次git合并操作,这是被允许的。#Merge后面带空格# echo 3. Revert 以Revert开头说明这是一次git还原操作,这是被允许的。#Revert后面带空格# exit 1 System/Dogz/DogzCell.cs
@@ -9,6 +9,7 @@ public class DogzCell : ScrollerUI { [SerializeField] Image m_DogzIcon; [SerializeField] RectTransform m_DogzIconRect; [SerializeField] Image m_DogzAssist; [SerializeField] Text m_DogzName; [SerializeField] Text m_DogzGrade; @@ -22,11 +23,13 @@ return m_Model ?? (m_Model = ModelCenter.Instance.GetModel<DogzModel>()); } } public override void Refresh(CellView cell) { var _dogzCfg = Config.Instance.Get<DogzConfig>(cell.index); m_DogzIcon.SetSprite(_dogzCfg.HeadIcon); m_DogzIcon.SetNativeSize(); m_DogzIconRect.sizeDelta = new Vector2(m_DogzIconRect.sizeDelta.x/2,m_DogzIconRect.sizeDelta.y/2); var _dogzEquips = model.GetDogzEquips(_dogzCfg.ID); bool isActive = (_dogzEquips == null || _dogzEquips.Count < 5) ? false : true; m_DogzName.text = _dogzCfg.Name; @@ -34,16 +37,16 @@ if (isActive) { m_DogzIcon.material = MaterialUtility.GetUIDefaultGraphicMaterial(); m_DogzName.material = MaterialUtility.GetUIDefaultGraphicMaterial(); m_DogzGrade.material = MaterialUtility.GetUIDefaultGraphicMaterial(); m_DogzName.color = UIHelper.s_NavyBrown; m_DogzGrade.color = UIHelper.s_BrightOrangeColor; } else { m_DogzIcon.material = MaterialUtility.GetDefaultSpriteGrayMaterial(); m_DogzName.material = MaterialUtility.GetDefaultSpriteGrayMaterial(); m_DogzGrade.material = MaterialUtility.GetDefaultSpriteGrayMaterial(); m_DogzName.color = UIHelper.s_BrightWhiteColor; m_DogzGrade.color = UIHelper.s_BrightWhiteColor; } m_DogzBtn.image.color = model.presentSelectDogz == _dogzCfg.ID ? Color.blue : Color.white; m_DogzBtn.image.SetSprite(model.presentSelectDogz == _dogzCfg.ID ? "Title_RightWindow" : "Title_PopupWindow"); m_DogzAssist.gameObject.SetActive(model.TryGetAssistDogzState(_dogzCfg.ID)); m_DogzBtn.onClick.RemoveAllListeners(); m_DogzBtn.onClick.AddListener(() => System/Dogz/DogzModel.cs
@@ -496,7 +496,7 @@ public bool IsReachSelectCondi(int itemId) { ItemConfig itemConfig = Config.Instance.Get<ItemConfig>(itemId); if (itemConfig == null) return false; if (itemConfig == null || itemConfig.EquipPlace == 0) return false; if (SelectDogzItemQuality == 0 && SelectDogzItemStart == 0) return true; System/Dogz/DogzWin.cs
@@ -73,6 +73,10 @@ private void OnOpenFuncEvent(int order) { funcBtnGroup.TriggerByOrder(order); if(WindowCenter.Instance.CheckOpen<DogzPackWin>()) { WindowCenter.Instance.CloseImmediately<DogzPackWin>(); } } private void OnDogzStrengthen() System/Dogz/SelectCell.cs
@@ -19,7 +19,7 @@ ItemModel model = dogzModel.selectEquipPlacelist[cell.index]; nameTex.text = model.chinItemModel.ItemName; nameTex.color = UIHelper.GetUIColor(model.chinItemModel.ItemColor); nameTex.color = UIHelper.GetUIColor(model.chinItemModel.ItemColor,true); itemBaisc.Init(model); int strenLv = 0; if (model.GetUseDataModel((int)ItemUseDataKey.Def_IudetDogzEquipPlus) != null) Utility/FontUtility.cs
@@ -6,7 +6,7 @@ { static Font m_Preferred; public static Font preferred { get { return m_Preferred ?? (m_Preferred = Resources.Load<Font>("Font/方正准圆简体")); } get { return m_Preferred ?? (m_Preferred = UILoader.LoadFont("方正准圆简体")); } } static Font m_Secondary; Utility/UIHelper.cs
@@ -357,8 +357,8 @@ public static readonly Color32 s_BrightRedColor = new Color32(255, 3, 3, 255); public static readonly Color32 s_BrightPurpleColor = new Color32(218, 72, 213, 255); public static readonly Color32 s_BrightBlueColor = new Color32(0, 107, 227, 255); public static readonly Color32 s_BrightOrangeColor = new Color32(255, 103, 1, 255); public static readonly Color32 s_BrightWhiteColor = new Color32(104, 104, 104, 255); public static readonly Color32 s_BrightOrangeColor = new Color32(255, 103, 1, 255); //FF6701FF public static readonly Color32 s_BrightWhiteColor = new Color32(104, 104, 104, 255); //686868 public static readonly Color32 s_BrightGreenColor = new Color32(16, 157, 6, 255); public static readonly Color32 s_DarkPinkColor = new Color32(255, 124, 124, 255);