keytops-game-framework 1.0.25 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/dist/app/module/analytics/AnalyticsAble.d.ts +26 -1
- package/dist/index.js +4705 -4622
- package/dist/view/View.d.ts +4 -0
- package/package.json +1 -1
package/dist/view/View.d.ts
CHANGED
|
@@ -62,6 +62,10 @@ export declare class View extends cc.Component implements IView {
|
|
|
62
62
|
* @param index 视图索引
|
|
63
63
|
*/
|
|
64
64
|
addView(view: View, index?: number): void;
|
|
65
|
+
/**
|
|
66
|
+
* 兼容 UITransform.priority 的旧层级语义,避免不同平台延迟排序导致同级 View 渲染顺序不稳定。
|
|
67
|
+
*/
|
|
68
|
+
private _sortChildrenByViewPriority;
|
|
65
69
|
/**
|
|
66
70
|
* 移除子视图
|
|
67
71
|
* @param view 子视图
|