UGUI 計算RectTransform的Bounds

NGUIMathf裏有個calculateRelativeWidgeBounds(Transform content) 的函數 用來計算 content下(包括content)的bounds  UGUI沒有找到相似的功能 因而本身仿照這寫了個UGUIMathf函數 using UnityEngine; using System.Collections; using System.Collectio
相關文章
相關標籤/搜索