|
@@ -19,7 +19,7 @@ namespace GFGGame
|
|
private double _mainScore;//总主属性分
|
|
private double _mainScore;//总主属性分
|
|
private const int _range = 100;//圆圈随机范围
|
|
private const int _range = 100;//圆圈随机范围
|
|
private const float _prefectScale = 60f;//完美缩放比
|
|
private const float _prefectScale = 60f;//完美缩放比
|
|
- private Texture _texture;
|
|
|
|
|
|
+ private NTexture _nTexture;
|
|
private bool _stopFight = false;
|
|
private bool _stopFight = false;
|
|
|
|
|
|
// private GameObject _gameObject0;
|
|
// private GameObject _gameObject0;
|
|
@@ -79,8 +79,11 @@ namespace GFGGame
|
|
ScoreSystemData.Instance.SetEquipDicWithType();
|
|
ScoreSystemData.Instance.SetEquipDicWithType();
|
|
|
|
|
|
_ui.m_comClickCircle.target.touchable = false;
|
|
_ui.m_comClickCircle.target.touchable = false;
|
|
- NTexture nTexture = new NTexture(EquipDataCache.cacher.RoleTextuex);
|
|
|
|
- _ui.m_loaRole.texture = nTexture;//EquipDataCache.cacher.FightRoleRes;
|
|
|
|
|
|
+ _nTexture = new NTexture(EquipDataCache.cacher.RoleTextuex);
|
|
|
|
+
|
|
|
|
+ // _ui.m_loaRole.texture = _nTexture;//EquipDataCache.cacher.FightRoleRes;
|
|
|
|
+ _ui.m_imgRole.SetSize(_nTexture.width, _nTexture.height);
|
|
|
|
+ _ui.m_imgRole.texture = _nTexture;
|
|
|
|
|
|
_ui.m_btnSpeedUp.visible = EquipDataCache.cacher.autoPlay;
|
|
_ui.m_btnSpeedUp.visible = EquipDataCache.cacher.autoPlay;
|
|
_ui.m_btnSpeedUp.title = "x" + EquipDataCache.cacher.fightSpeed;
|
|
_ui.m_btnSpeedUp.title = "x" + EquipDataCache.cacher.fightSpeed;
|
|
@@ -190,8 +193,11 @@ namespace GFGGame
|
|
if (_index >= FightScoreCfgArray.Instance.dataArray.Length)
|
|
if (_index >= FightScoreCfgArray.Instance.dataArray.Length)
|
|
{
|
|
{
|
|
GetCurStar(out int star, out Transition transition);
|
|
GetCurStar(out int star, out Transition transition);
|
|
- NTexture nTexture = new NTexture(EquipDataCache.cacher.RoleTextuex);
|
|
|
|
- _ui.m_comRoleResult.m_comRole.m_loaRole.texture = nTexture;
|
|
|
|
|
|
+
|
|
|
|
+ // _ui.m_comRoleResult.m_comRole.m_loaRole.texture = _nTexture;
|
|
|
|
+ // _ui.m_comRoleResult.m_comRole.m_loaRole.texture = _nTexture;
|
|
|
|
+ _ui.m_comRoleResult.m_comRole.m_imgRole.texture = _nTexture;
|
|
|
|
+ _ui.m_comRoleResult.m_comRole.m_imgRole.SetSize(_nTexture.width, _nTexture.height);
|
|
_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();
|
|
@@ -288,8 +294,6 @@ namespace GFGGame
|
|
_ui.m_comScoreStage.target.visible = true;
|
|
_ui.m_comScoreStage.target.visible = true;
|
|
_ui.m_comClickCircle.target.SetScale(0, 0);
|
|
_ui.m_comClickCircle.target.SetScale(0, 0);
|
|
_ui.m_loaGlass.SetScale(0, 0);
|
|
_ui.m_loaGlass.SetScale(0, 0);
|
|
-
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|