优化ui,谱面替换,以及科研模糊
This commit is contained in:
@@ -109,14 +109,14 @@ class UI_Panel_Character : MonoBehaviour
|
||||
{ Image_Character_Illustration.rectTransform.anchoredPosition = new Vector2(value, pos1.y); },
|
||||
startValue: Image_Character_Illustration.rectTransform.anchoredPosition.x - 200,
|
||||
pos1.x, anim_Time);
|
||||
Image_Character_Illustration.SetNativeSize();
|
||||
// Image_Character_Illustration.SetNativeSize(); // 注释掉以保持自适应而不改变大小
|
||||
var pos = Image_Character_Illustration_BG.rectTransform.anchoredPosition;
|
||||
Image_Character_Illustration_BG.sprite = data.ally_hero_HD_image;
|
||||
DOTween.To(value =>
|
||||
{ Image_Character_Illustration_BG.rectTransform.anchoredPosition = new Vector2(value, pos.y); },
|
||||
startValue: Image_Character_Illustration_BG.rectTransform.anchoredPosition.x - 200,
|
||||
pos.x, anim_Time);
|
||||
Image_Character_Illustration_BG.SetNativeSize();
|
||||
// Image_Character_Illustration_BG.SetNativeSize(); // 注释掉以保持自适应而不改变大小
|
||||
Image_Character_Illustration_BG.transform.localScale = new(2.7f, 2.7f, 2.7f);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user