Browse Source

更新备忘录

liuqilin 7 years ago
parent
commit
f713db2199
1 changed files with 1 additions and 21 deletions
  1. 1 21
      第五期.txt

+ 1 - 21
第五期.txt

@@ -18,24 +18,4 @@ IOS
 
 2D描边Shader(参考Unity的Outline组件 是否影响Drawcall)
 
-UGUI是如何实现RectMask的
-
-
-ScrollRect定位
-{
-  Unrestrain
-  {
-    直接移动
-  }
-  Restrain
-  {
-    当Content的Size小于Viewport的Size时不用移动
-    如果有LayoutGroup需要考虑spacing和padding
-    要考虑到CanvasScaler
-    移动时计算Pivot到指定点的距离d1、content可移动的距离d2
-    {
-      如果d1<=d2 content移动d1
-      如果d1>d2 content移动d2
-    }
-  }
-}
+UGUI是如何实现RectMask的