|
@@ -83,7 +83,7 @@ namespace GFGGame
|
|
|
|
|
|
// _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);
|
|
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(GRoot.inst.width, GRoot.inst.height);
|
|
_ui.m_imgRole.texture = _nTexture;
|
|
_ui.m_imgRole.texture = _nTexture;
|
|
|
|
|
|
_ui.m_btnSpeedUp.visible = EquipDataCache.cacher.autoPlay;
|
|
_ui.m_btnSpeedUp.visible = EquipDataCache.cacher.autoPlay;
|
|
@@ -195,7 +195,7 @@ namespace GFGGame
|
|
{
|
|
{
|
|
GetCurStar(out int star, out Transition transition);
|
|
GetCurStar(out int star, out Transition transition);
|
|
|
|
|
|
- _ui.m_comRoleResult.m_comRole.m_imgRole.SetSize(UnityEngine.Screen.width, UnityEngine.Screen.height);
|
|
|
|
|
|
+ _ui.m_comRoleResult.m_comRole.m_imgRole.SetSize(GRoot.inst.width, GRoot.inst.height);
|
|
_ui.m_comRoleResult.m_comRole.m_imgRole.texture = _nTexture;
|
|
_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;
|