From 7a50ac63a72b478e971e6bc89b2ba3ae2c4334a5 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期三, 31 十月 2018 17:55:41 +0800
Subject: [PATCH] 4512 子 【开发】【1.2.0】神兽功能优化 / 【前端】【1.2.0】神兽功能优化2

---
 System/Strengthening/GodBeastEntry.cs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/System/Strengthening/GodBeastEntry.cs b/System/Strengthening/GodBeastEntry.cs
index 78902df..b0d32df 100644
--- a/System/Strengthening/GodBeastEntry.cs
+++ b/System/Strengthening/GodBeastEntry.cs
@@ -18,6 +18,7 @@
         [SerializeField] Text m_Item_Text;
         [SerializeField] Button m_GodBeastButton;
         [SerializeField] RedpointBehaviour m_RedPoint;
+        [SerializeField] Image m_GodBeastIcon;
         public Button GodBeastButton
         {
             get { return m_GodBeastButton; }
@@ -31,6 +32,11 @@
         {
             int godBeastNumber = locationMarker % 100;//绁炲吔缂栧彿
             int godBeastPart = locationMarker / 100;//绁炲吔瑁呭浣岻D
+            var DogZConfig = Config.Instance.Get<DogzConfig>(godBeastNumber);
+            if (DogZConfig != null)
+            {
+                m_GodBeastIcon.SetSprite(DogZConfig.HeadIcon);
+            }
             List<ItemModel> itemModel = dogz_model.GetDogzEquips(godBeastNumber);
             if (itemModel != null)
             {

--
Gitblit v1.8.0