Exemple #1
0
 /// <summary>
 /// 添加数据并移动到底部
 /// </summary>
 /// <param name="dat">数据</param>
 /// <param name="h">数据UI高度</param>
 public void AddAndMoveEnd(U dat, float h)
 {
     if (h <= 0)
     {
         h = UIElementLoader.GetSize(model).y;
     }
     con.AddAndMoveEnd(this, dat, h);
 }
Exemple #2
0
 /// <summary>
 /// 添加数据并移动到底部
 /// </summary>
 /// <param name="dat">数据</param>
 /// <param name="h">数据UI高度</param>
 public void AddAndMoveEnd(U dat, float h)
 {
     if (h <= 0)
     {
         unsafe { h = ((UITransfromData *)model.ip)->size.y; }
     }
     con.AddAndMoveEnd(this, dat, h);
 }