Exemple #1
0
 void Update()
 {
     if (null == rt1 || null == rt2)
     {
         return;
     }
     MathEx.AnchorTo(rt1, UGUISide.TopLeft, rt2, UGUISide.BottomRight, transform);
     MathEx.SetUIArea(rt1, rect, transform);
 }