Unity logo
取消
购物车
应用
Sell Assets

11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

首页
工具
GUI
1/6

Solve GC and CPU consumption caused by multiple Instantiate and Destroy in UGUI-ScrollView.
--Component: XGridLayoutGroup--
This is a variant of GridLayout.It is not allowed to modify the size of the cell.
--How to use it?--
·Add XGridLayoutGroup to the Content of ScrollRect.
·Change custom properties.
·Call XGridLayoutGroup.SetInitData(int totalSize, XLayoutEvents layevents);
·Call XGridLayoutGroup.BeginUpdate(bool forceUpdate);
--Component: XVerticalLayoutGroup--
This is a extension of VerticalLayoutGroup. It allow change cell size.
--How to use it?--
·Add XVerticalLayoutGroup to the Content of ScrollRect.
·Change custom properties.
·Call XLayoutGroup.SetInitData(int cellSize, int totalSize, XLayoutEvents layevents);
--How to change cell size?--
·Call XLayoutGroup.ChangeCellSize(int index, float newSize).It will re-calculate cell size immediately.
--Component: XHorizontalLayoutGroup--
This is a extension of HorizontalLayoutGroup. It allow change cell size.
--How to use it?--
·Add XHorizontalLayoutGroup to the Content of ScrollRect.
·Change custom properties.
·Call XLayoutGroup.SetInitData(int cellSize, int totalSize, XLayoutEvents layevents);
--How to change cell size?--
·Call XLayoutGroup.ChangeCellSize(int index, float newSize).It will re-calculate cell size immediately.

LayoutExtensions

(暂无评分)
2 users have favourite this asset
(2)
$10
席位
1
更新的价格和增值税在结算时计算
退款政策
该资源受Unity资源商店退款政策约束。有关详细信息,请参见《最终用户许可协议》(EULA)中的第2.9.3节。
安全结账方式:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
许可证类型
文件大小
31.2 KB
最新版本
1.0
最新发布日期
2019年3月26日
原始 Unity 版本
2018.2.1
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR