소스 검색

tipshower

wartheking 1 주 전
부모
커밋
3177b21ea8
2개의 변경된 파일95개의 추가작업 그리고 168개의 파일을 삭제
  1. 92 165
      Assets/Scene 1.unity
  2. 3 3
      Assets/Scripts/UI/Tools/TipShower.cs

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 92 - 165
Assets/Scene 1.unity


+ 3 - 3
Assets/Scripts/UI/Tools/TipShower.cs

@@ -12,11 +12,11 @@ public class TipShower : MonoBehaviour,IPointerEnterHandler,IPointerExitHandler
     public void OnPointerEnter(PointerEventData eventData)
     {
         currentShower = this;
-        tips.anchoredPosition = this.GetComponent<RectTransform>().anchoredPosition;
+       // tips.anchoredPosition = this.GetComponent<RectTransform>().anchoredPosition;
         tips.gameObject.SetActive(true);
         tips.GetComponentInChildren<Text>().text = data;
-        LayoutRebuilder.ForceRebuildLayoutImmediate(tips.GetChild(0).GetComponent<RectTransform>()); ; // 强制重新计算布局
-        LayoutRebuilder.ForceRebuildLayoutImmediate(tips.GetComponent<RectTransform>()); // 强制重新计算布局
+        //LayoutRebuilder.ForceRebuildLayoutImmediate(tips.GetChild(0).GetComponent<RectTransform>()); ; // 强制重新计算布局
+        //LayoutRebuilder.ForceRebuildLayoutImmediate(tips.GetComponent<RectTransform>()); // 强制重新计算布局
     }
     public static TipShower currentShower = null;
     public void OnPointerExit(PointerEventData eventData)

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.