zhaoyang 2 жил өмнө
parent
commit
715d9b6756

+ 2 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryFightSingleScoreView.cs

@@ -82,6 +82,7 @@ namespace GFGGame
             _nTexture = new NTexture(EquipDataCache.cacher.RoleTextuex);
             _nTexture = new NTexture(EquipDataCache.cacher.RoleTextuex);
 
 
             // _ui.m_loaRole.texture = _nTexture;//EquipDataCache.cacher.FightRoleRes;
             // _ui.m_loaRole.texture = _nTexture;//EquipDataCache.cacher.FightRoleRes;
+            ET.Log.Debug("Screen:" + UnityEngine.Screen.width + "  " + UnityEngine.Screen.height + "   _nTexture:" + _nTexture.width + "   " + _nTexture.height);
             _ui.m_imgRole.SetSize(UnityEngine.Screen.width, UnityEngine.Screen.height);
             _ui.m_imgRole.SetSize(UnityEngine.Screen.width, UnityEngine.Screen.height);
             _ui.m_imgRole.texture = _nTexture;
             _ui.m_imgRole.texture = _nTexture;
 
 
@@ -194,8 +195,8 @@ namespace GFGGame
             {
             {
                 GetCurStar(out int star, out Transition transition);
                 GetCurStar(out int star, out Transition transition);
 
 
-                _ui.m_comRoleResult.m_comRole.m_imgRole.texture = _nTexture;
                 _ui.m_comRoleResult.m_comRole.m_imgRole.SetSize(UnityEngine.Screen.width, UnityEngine.Screen.height);
                 _ui.m_comRoleResult.m_comRole.m_imgRole.SetSize(UnityEngine.Screen.width, UnityEngine.Screen.height);
+                _ui.m_comRoleResult.m_comRole.m_imgRole.texture = _nTexture;
                 _ui.m_comRoleResult.m_c1.selectedIndex = 0;
                 _ui.m_comRoleResult.m_c1.selectedIndex = 0;
                 _ui.m_LoaMask.touchable = true;
                 _ui.m_LoaMask.touchable = true;
                 _ui.m_t3.Play();
                 _ui.m_t3.Play();