mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-09-24 22:11:34 +00:00
完善 docs
This commit is contained in:
@@ -21,9 +21,9 @@
|
||||
// 扩展 Label:BITMAP 模式会复用同样式同文本的纹理,CHAR 模式改为使用多个图集,但是支持自动加入多纹理合批,这样就能与动态图集一起合批(增加配置,默认情况下动态图集最高8-1张,Char 图集为 1 张(无论如何设置,在装不完的情况下,因为需要正常渲染,都会最高使用 8 张图集,但是只有设置的数量才会加入多纹理合批,并且会创建一个专属材质,如果该材质无法完成渲染,会使用专属材质,或者可以仿照 spine flush buffer)
|
||||
// 扩展 Spine:支持自动切换材质与动态图集
|
||||
|
||||
// 提醒 Spine 的材质自动切换会有缓存,修改关联的材质后,生效可以手动清除 comp._materialCache = {};,其它组件的材质生效需要 setVertsDirty
|
||||
// 在编辑器中,Char 的显示有时候会出现异常
|
||||
// 提醒调整是否参与动态图集,需要 setVertsDirty
|
||||
// 提醒 cc.SkeletonData.createSpriteFrame ,如果 region 的旋转角度不是 270 或 0 不能完美转换,但不影响自动合图
|
||||
// 提醒 SpineData 如果同时使用多个 texture,只会使用第一个 texture 的 multiMaterial 进行自动切换
|
||||
// Spine 需要更多测试!!!SkeletonData 克隆会有 ref 问题吗?
|
||||
|
||||
// 注意:因 MotionSteak 直接使用 texture 而不是 spriteFrame,所以不支持动态图集
|
||||
|
67
demo/assets/left-area.ts
Normal file
67
demo/assets/left-area.ts
Normal file
@@ -0,0 +1,67 @@
|
||||
const { ccclass, property } = cc._decorator;
|
||||
|
||||
@ccclass
|
||||
export default class LeftArea extends cc.Component {
|
||||
|
||||
@property(cc.Node)
|
||||
home: cc.Node = null;
|
||||
|
||||
@property(cc.Node)
|
||||
multiMaterial: cc.Node = null;
|
||||
|
||||
@property(cc.Node)
|
||||
multiBatcher: cc.Node = null;
|
||||
|
||||
@property(cc.Node)
|
||||
mainArea: cc.Node = null;
|
||||
|
||||
|
||||
start() {
|
||||
this.home.on('toggle', (toggle: cc.Toggle) => {
|
||||
if (toggle.isChecked) {
|
||||
this.changePage(toggle.node);
|
||||
}
|
||||
});
|
||||
|
||||
this.multiMaterial.on('toggle', (toggle: cc.Toggle) => {
|
||||
if (toggle.isChecked) {
|
||||
this.changePage(toggle.node);
|
||||
}
|
||||
});
|
||||
|
||||
this.multiBatcher.on('toggle', (toggle: cc.Toggle) => {
|
||||
if (toggle.isChecked) {
|
||||
this.changePage(toggle.node);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
tick = 0;
|
||||
|
||||
changePage(node: cc.Node) {
|
||||
const cur = ++this.tick;
|
||||
const map = new Map<cc.Node, { bundle: string, path: string }>([
|
||||
|
||||
[this.multiMaterial, { bundle: "multi-render", path: "multi-material/multi-material" }],
|
||||
|
||||
[this.multiBatcher, { bundle: "multi-render", path: "multi-batcher/multi-batcher" }],
|
||||
|
||||
]);
|
||||
|
||||
this.mainArea.destroyAllChildren();
|
||||
|
||||
const route = map.get(node);
|
||||
if (route) {
|
||||
cc.assetManager.loadBundle(route.bundle, (err, bundle) => {
|
||||
if (!err) {
|
||||
bundle.load(route.path, cc.Prefab, (err, prefab: cc.Prefab) => {
|
||||
if (!err && cur === this.tick) {
|
||||
this.mainArea.addChild(cc.instantiate(prefab));
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
}
|
9
demo/assets/left-area.ts.meta
Normal file
9
demo/assets/left-area.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.8",
|
||||
"uuid": "853f5bb2-1b9a-451e-911a-5de5ed6b530b",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
@@ -75,19 +75,19 @@
|
||||
"__id__": 5
|
||||
},
|
||||
{
|
||||
"__id__": 66
|
||||
"__id__": 69
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 70
|
||||
},
|
||||
{
|
||||
"__id__": 71
|
||||
},
|
||||
{
|
||||
"__id__": 72
|
||||
},
|
||||
{
|
||||
"__id__": 73
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -102,7 +102,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 960,
|
||||
"height": 640
|
||||
"height": 600
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -114,7 +114,7 @@
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
480,
|
||||
320,
|
||||
300,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
@@ -248,19 +248,22 @@
|
||||
"__id__": 6
|
||||
},
|
||||
{
|
||||
"__id__": 57
|
||||
"__id__": 59
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 61
|
||||
"__id__": 63
|
||||
},
|
||||
{
|
||||
"__id__": 64
|
||||
"__id__": 66
|
||||
},
|
||||
{
|
||||
"__id__": 65
|
||||
"__id__": 67
|
||||
},
|
||||
{
|
||||
"__id__": 68
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -275,7 +278,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 240,
|
||||
"height": 640
|
||||
"height": 600
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -326,7 +329,7 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 56
|
||||
"__id__": 58
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -341,7 +344,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 240,
|
||||
"height": 640
|
||||
"height": 600
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -402,18 +405,21 @@
|
||||
},
|
||||
{
|
||||
"__id__": 41
|
||||
},
|
||||
{
|
||||
"__id__": 43
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 53
|
||||
},
|
||||
{
|
||||
"__id__": 54
|
||||
},
|
||||
{
|
||||
"__id__": 55
|
||||
},
|
||||
{
|
||||
"__id__": 56
|
||||
},
|
||||
{
|
||||
"__id__": 57
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -428,7 +434,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 240,
|
||||
"height": 262
|
||||
"height": 263
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -440,7 +446,7 @@
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
320,
|
||||
300,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
@@ -553,13 +559,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": "b9rtT8HFhB+aRlMVUwgWwY"
|
||||
},
|
||||
@@ -679,13 +685,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 3,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": "bbcML2sgVD/YS8wLMkuo84"
|
||||
},
|
||||
@@ -886,8 +892,8 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": "d1eHsjYk9EWr2gwaBHGR8s"
|
||||
},
|
||||
{
|
||||
@@ -925,7 +931,7 @@
|
||||
"__id__": 14
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 19
|
||||
@@ -1012,8 +1018,8 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": "769i+ShNFDY7d+bfuiGFh/"
|
||||
},
|
||||
{
|
||||
@@ -1132,13 +1138,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": "87mFyGpZpOMYGs0HmWLjQ9"
|
||||
},
|
||||
@@ -1237,7 +1243,7 @@
|
||||
"_N$target": {
|
||||
"__id__": 14
|
||||
},
|
||||
"_N$isChecked": false,
|
||||
"_N$isChecked": true,
|
||||
"toggleGroup": null,
|
||||
"checkMark": {
|
||||
"__id__": 19
|
||||
@@ -1361,13 +1367,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": "46oKx6E7JC/aSnbXeUrraO"
|
||||
},
|
||||
@@ -1568,8 +1574,8 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": "dasBuXH4lJbZaV0blB4989"
|
||||
},
|
||||
{
|
||||
@@ -1607,7 +1613,7 @@
|
||||
"__id__": 29
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 34
|
||||
@@ -1694,8 +1700,8 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": "cfO0DHZfFP+pO/CmbuMLc1"
|
||||
},
|
||||
{
|
||||
@@ -1814,13 +1820,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": "b5LPG0j+lP4J3NQeiyoIU0"
|
||||
},
|
||||
@@ -1919,7 +1925,7 @@
|
||||
"_N$target": {
|
||||
"__id__": 29
|
||||
},
|
||||
"_N$isChecked": true,
|
||||
"_N$isChecked": false,
|
||||
"toggleGroup": null,
|
||||
"checkMark": {
|
||||
"__id__": 34
|
||||
@@ -1954,6 +1960,102 @@
|
||||
"_originalHeight": 0,
|
||||
"_id": "ea4HVs3PZPMooZxVgDb4oF"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "line",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 7
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 42
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_opacity": 150,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 0,
|
||||
"g": 0,
|
||||
"b": 0,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 240,
|
||||
"height": 1
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
-212.5,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": "fdLjmHzURHBoTovn46gkO+"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 41
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 0,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": "c9/hc9CapODpisEzYuFwpJ"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "multi-render-batcher",
|
||||
@@ -1963,22 +2065,22 @@
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 42
|
||||
"__id__": 44
|
||||
},
|
||||
{
|
||||
"__id__": 45
|
||||
"__id__": 47
|
||||
},
|
||||
{
|
||||
"__id__": 48
|
||||
"__id__": 50
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 51
|
||||
"__id__": 53
|
||||
},
|
||||
{
|
||||
"__id__": 52
|
||||
"__id__": 54
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -2005,7 +2107,7 @@
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
-237,
|
||||
-238,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
@@ -2034,16 +2136,16 @@
|
||||
"_name": "bg",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 41
|
||||
"__id__": 43
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 43
|
||||
"__id__": 45
|
||||
},
|
||||
{
|
||||
"__id__": 44
|
||||
"__id__": 46
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -2099,7 +2201,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 42
|
||||
"__id__": 44
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
@@ -2124,8 +2226,8 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": "5eCAXTLddC2YYw0qj1Ydlo"
|
||||
},
|
||||
{
|
||||
@@ -2133,7 +2235,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 42
|
||||
"__id__": 44
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
@@ -2160,16 +2262,16 @@
|
||||
"_name": "check",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 41
|
||||
"__id__": 43
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 46
|
||||
"__id__": 48
|
||||
},
|
||||
{
|
||||
"__id__": 47
|
||||
"__id__": 49
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -2225,7 +2327,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 45
|
||||
"__id__": 47
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
@@ -2250,8 +2352,8 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": "c5Ph4qQRRGKLk4UsU2CuP1"
|
||||
},
|
||||
{
|
||||
@@ -2259,7 +2361,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 45
|
||||
"__id__": 47
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
@@ -2286,16 +2388,16 @@
|
||||
"_name": "text",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 41
|
||||
"__id__": 43
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 49
|
||||
"__id__": 51
|
||||
},
|
||||
{
|
||||
"__id__": 50
|
||||
"__id__": 52
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -2351,7 +2453,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 48
|
||||
"__id__": 50
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
@@ -2370,13 +2472,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": "20fk8U3rpIGarOxB/zN7Js"
|
||||
},
|
||||
@@ -2385,7 +2487,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 48
|
||||
"__id__": 50
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
@@ -2412,7 +2514,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 41
|
||||
"__id__": 43
|
||||
},
|
||||
"_enabled": true,
|
||||
"_normalMaterial": null,
|
||||
@@ -2473,12 +2575,12 @@
|
||||
"hoverSprite": null,
|
||||
"_N$disabledSprite": null,
|
||||
"_N$target": {
|
||||
"__id__": 41
|
||||
"__id__": 43
|
||||
},
|
||||
"_N$isChecked": false,
|
||||
"toggleGroup": null,
|
||||
"checkMark": {
|
||||
"__id__": 46
|
||||
"__id__": 48
|
||||
},
|
||||
"checkEvents": [],
|
||||
"_id": "e7i26YZV1FqKklg91bgGv0"
|
||||
@@ -2488,7 +2590,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 41
|
||||
"__id__": 43
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
@@ -2533,7 +2635,7 @@
|
||||
"_layoutSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 240,
|
||||
"height": 262
|
||||
"height": 263
|
||||
},
|
||||
"_resize": 1,
|
||||
"_N$layoutType": 2,
|
||||
@@ -2617,19 +2719,19 @@
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 58
|
||||
"__id__": 60
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 60
|
||||
},
|
||||
{
|
||||
"__id__": 62
|
||||
},
|
||||
{
|
||||
"__id__": 63
|
||||
"__id__": 64
|
||||
},
|
||||
{
|
||||
"__id__": 65
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -2644,7 +2746,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 8,
|
||||
"height": 640
|
||||
"height": 600
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -2685,13 +2787,13 @@
|
||||
"_name": "bar",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 57
|
||||
"__id__": 59
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 59
|
||||
"__id__": 61
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -2747,7 +2849,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 58
|
||||
"__id__": 60
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
@@ -2772,8 +2874,8 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": "9c2SrYmphDVquAHlr87fA/"
|
||||
},
|
||||
{
|
||||
@@ -2781,18 +2883,18 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 57
|
||||
"__id__": 59
|
||||
},
|
||||
"_enabled": true,
|
||||
"_scrollView": {
|
||||
"__id__": 61
|
||||
"__id__": 63
|
||||
},
|
||||
"_touching": false,
|
||||
"_opacity": 255,
|
||||
"enableAutoHide": true,
|
||||
"autoHideTime": 1,
|
||||
"_N$handle": {
|
||||
"__id__": 59
|
||||
"__id__": 61
|
||||
},
|
||||
"_N$direction": 1,
|
||||
"_id": "45lAX/jYFK8bn5il0V2PGf"
|
||||
@@ -2821,7 +2923,7 @@
|
||||
},
|
||||
"_N$horizontalScrollBar": null,
|
||||
"_N$verticalScrollBar": {
|
||||
"__id__": 60
|
||||
"__id__": 62
|
||||
},
|
||||
"_id": "f1ZKPgwatHKqxBlPMr/vU6"
|
||||
},
|
||||
@@ -2830,7 +2932,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 57
|
||||
"__id__": 59
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 0,
|
||||
@@ -2857,7 +2959,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 57
|
||||
"__id__": 59
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
@@ -2882,8 +2984,8 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": "ffwZ4WTWJLeoK7epp1s1o3"
|
||||
},
|
||||
{
|
||||
@@ -2943,10 +3045,32 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": false,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": "08P8DmnE9J748Jelsz9lrw"
|
||||
},
|
||||
{
|
||||
"__type__": "853f5uyG5pFHpEaXeXta1ML",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 5
|
||||
},
|
||||
"_enabled": true,
|
||||
"home": {
|
||||
"__id__": 14
|
||||
},
|
||||
"multiMaterial": {
|
||||
"__id__": 29
|
||||
},
|
||||
"multiBatcher": {
|
||||
"__id__": 43
|
||||
},
|
||||
"mainArea": {
|
||||
"__id__": 69
|
||||
},
|
||||
"_id": "62KSyy38xD/LU3CscZK3qC"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "main-area",
|
||||
@@ -2954,15 +3078,11 @@
|
||||
"_parent": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 67
|
||||
}
|
||||
],
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 69
|
||||
"__id__": 70
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@@ -2977,7 +3097,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 720,
|
||||
"height": 640
|
||||
"height": 600
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -3013,58 +3133,12 @@
|
||||
"groupIndex": 0,
|
||||
"_id": "54WBhHVtBF4JdadFee+PuD"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 66
|
||||
},
|
||||
"_prefab": {
|
||||
"__id__": 68
|
||||
},
|
||||
"_name": "multi-material",
|
||||
"_active": true,
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": "e961JkgDFHhpfE4jDsQXGc"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 67
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "c5f3051e-1b4f-4384-939c-b838bcb8f5bf"
|
||||
},
|
||||
"fileId": "",
|
||||
"sync": true
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 66
|
||||
"__id__": 69
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
@@ -3097,7 +3171,7 @@
|
||||
"_designResolution": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 960,
|
||||
"height": 640
|
||||
"height": 600
|
||||
},
|
||||
"_fitWidth": false,
|
||||
"_fitHeight": true,
|
||||
|
12
demo/assets/multi-render/multi-batcher.meta
Normal file
12
demo/assets/multi-render/multi-batcher.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"ver": "1.1.2",
|
||||
"uuid": "6aa6d587-b168-40f9-b961-78e28fc4e9a7",
|
||||
"isBundle": false,
|
||||
"bundleName": "",
|
||||
"priority": 1,
|
||||
"compressionType": {},
|
||||
"optimizeHotUpdate": {},
|
||||
"inlineSpriteFrames": {},
|
||||
"isRemoteBundle": {},
|
||||
"subMetas": {}
|
||||
}
|
958
demo/assets/multi-render/multi-batcher/multi-batcher.prefab
Normal file
958
demo/assets/multi-render/multi-batcher/multi-batcher.prefab
Normal file
@@ -0,0 +1,958 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "multi-batcher",
|
||||
"_objFlags": 0,
|
||||
"_parent": null,
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 2
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 26
|
||||
},
|
||||
{
|
||||
"__id__": 27
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 28
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 960,
|
||||
"height": 600
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
480,
|
||||
300,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "sv",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 3
|
||||
},
|
||||
{
|
||||
"__id__": 14
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 19
|
||||
},
|
||||
{
|
||||
"__id__": 23
|
||||
},
|
||||
{
|
||||
"__id__": 24
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 25
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 25,
|
||||
"g": 25,
|
||||
"b": 25,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 960,
|
||||
"height": 600
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "view",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 4
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 12
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 13
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 960,
|
||||
"height": 600
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "content",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 3
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 5
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 8
|
||||
},
|
||||
{
|
||||
"__id__": 9
|
||||
},
|
||||
{
|
||||
"__id__": 10
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 11
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 785.815,
|
||||
"height": 110
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 1
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
300,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "tips",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 6
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 7
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 664.92,
|
||||
"height": 80
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
-70,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Label",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 5
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
null
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_string": "点击按钮设置这些渲染组件纹理的关联材质,能看到 drawcall 的降低\n(切换左边的选项卡重置)",
|
||||
"_N$string": "点击按钮设置这些渲染组件纹理的关联材质,能看到 drawcall 的降低\n(切换左边的选项卡重置)",
|
||||
"_fontSize": 22,
|
||||
"_lineHeight": 40,
|
||||
"_enableWrapText": true,
|
||||
"_N$file": null,
|
||||
"_isSystemFontUsed": true,
|
||||
"_spacingX": 0,
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "145bba41-1962-49ee-aec9-08fb154e8bf2"
|
||||
},
|
||||
"fileId": "fbSLTYNutL174TDvzvU3nT",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.ToggleContainer",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_enabled": true,
|
||||
"allowSwitchOff": false,
|
||||
"checkEvents": [],
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Layout",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_enabled": true,
|
||||
"_layoutSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 785.815,
|
||||
"height": 110
|
||||
},
|
||||
"_resize": 1,
|
||||
"_N$layoutType": 2,
|
||||
"_N$cellSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 40,
|
||||
"height": 40
|
||||
},
|
||||
"_N$startAxis": 1,
|
||||
"_N$paddingLeft": 0,
|
||||
"_N$paddingRight": 0,
|
||||
"_N$paddingTop": 30,
|
||||
"_N$paddingBottom": 0,
|
||||
"_N$spacingX": 0,
|
||||
"_N$spacingY": 0,
|
||||
"_N$verticalDirection": 1,
|
||||
"_N$horizontalDirection": 0,
|
||||
"_N$affectedByScale": false,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
"_target": null,
|
||||
"_alignFlags": 41,
|
||||
"_left": 87.09249999999997,
|
||||
"_right": 87.09249999999997,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_horizontalCenter": 0,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
"_isAbsBottom": true,
|
||||
"_isAbsHorizontalCenter": true,
|
||||
"_isAbsVerticalCenter": true,
|
||||
"_originalWidth": 220,
|
||||
"_originalHeight": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "145bba41-1962-49ee-aec9-08fb154e8bf2"
|
||||
},
|
||||
"fileId": "98B5382ANHgKQw5BkMsWAq",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 3
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
"_target": null,
|
||||
"_alignFlags": 45,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_horizontalCenter": 0,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
"_isAbsBottom": true,
|
||||
"_isAbsHorizontalCenter": true,
|
||||
"_isAbsVerticalCenter": true,
|
||||
"_originalWidth": 240,
|
||||
"_originalHeight": 250,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "145bba41-1962-49ee-aec9-08fb154e8bf2"
|
||||
},
|
||||
"fileId": "645yltQ0dFpbIcIgDazPDc",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "scrollBar",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 15
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 18
|
||||
},
|
||||
{
|
||||
"__id__": 20
|
||||
},
|
||||
{
|
||||
"__id__": 21
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 22
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 8,
|
||||
"height": 600
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 1,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
480,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "bar",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 14
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 16
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 17
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 8,
|
||||
"height": 30
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 1,
|
||||
"y": 0
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 15
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "5c3bb932-6c3c-468f-88a9-c8c61d458641"
|
||||
},
|
||||
"_type": 1,
|
||||
"_sizeMode": 0,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "145bba41-1962-49ee-aec9-08fb154e8bf2"
|
||||
},
|
||||
"fileId": "29pI3SelxAU6ODrNe5LS2g",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Scrollbar",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 14
|
||||
},
|
||||
"_enabled": true,
|
||||
"_scrollView": {
|
||||
"__id__": 19
|
||||
},
|
||||
"_touching": false,
|
||||
"_opacity": 255,
|
||||
"enableAutoHide": false,
|
||||
"autoHideTime": 1,
|
||||
"_N$handle": {
|
||||
"__id__": 16
|
||||
},
|
||||
"_N$direction": 1,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.ScrollView",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"horizontal": false,
|
||||
"vertical": true,
|
||||
"inertia": true,
|
||||
"brake": 0.75,
|
||||
"elastic": true,
|
||||
"bounceDuration": 0.23,
|
||||
"scrollEvents": [],
|
||||
"cancelInnerEvents": true,
|
||||
"_N$content": {
|
||||
"__id__": 4
|
||||
},
|
||||
"content": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_N$horizontalScrollBar": null,
|
||||
"_N$verticalScrollBar": {
|
||||
"__id__": 18
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 14
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 0,
|
||||
"_target": null,
|
||||
"_alignFlags": 37,
|
||||
"_left": 350.07654921020657,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_horizontalCenter": 0,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
"_isAbsBottom": true,
|
||||
"_isAbsHorizontalCenter": true,
|
||||
"_isAbsVerticalCenter": true,
|
||||
"_originalWidth": 0,
|
||||
"_originalHeight": 237,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 14
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "5fe5dcaa-b513-4dc5-a166-573627b3a159"
|
||||
},
|
||||
"_type": 1,
|
||||
"_sizeMode": 0,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "145bba41-1962-49ee-aec9-08fb154e8bf2"
|
||||
},
|
||||
"fileId": "c2cC2kA1NNeozY+5ZzkcSY",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
"_target": null,
|
||||
"_alignFlags": 45,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_horizontalCenter": 0,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
"_isAbsBottom": true,
|
||||
"_isAbsHorizontalCenter": true,
|
||||
"_isAbsVerticalCenter": true,
|
||||
"_originalWidth": 240,
|
||||
"_originalHeight": 250,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 0,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": false,
|
||||
"_atlas": null,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "145bba41-1962-49ee-aec9-08fb154e8bf2"
|
||||
},
|
||||
"fileId": "b5RxDsAgFOW6xOyBdbz2rI",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
"_target": null,
|
||||
"_alignFlags": 45,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_horizontalCenter": 0,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
"_isAbsBottom": true,
|
||||
"_isAbsHorizontalCenter": true,
|
||||
"_isAbsVerticalCenter": true,
|
||||
"_originalWidth": 0,
|
||||
"_originalHeight": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "3e9188DEK9FCYlYeL+jvmrQ",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"label": {
|
||||
"__id__": 6
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "145bba41-1962-49ee-aec9-08fb154e8bf2"
|
||||
},
|
||||
"fileId": "",
|
||||
"sync": false
|
||||
}
|
||||
]
|
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"ver": "1.2.9",
|
||||
"uuid": "145bba41-1962-49ee-aec9-08fb154e8bf2",
|
||||
"optimizationPolicy": "AUTO",
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false,
|
||||
"subMetas": {}
|
||||
}
|
13
demo/assets/multi-render/multi-batcher/multi-batcher.ts
Normal file
13
demo/assets/multi-render/multi-batcher/multi-batcher.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
const { ccclass, property } = cc._decorator;
|
||||
|
||||
@ccclass
|
||||
export default class MultiBatcher extends cc.Component {
|
||||
|
||||
@property(cc.Label)
|
||||
label: cc.Label = null;
|
||||
|
||||
protected onLoad(): void {
|
||||
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.8",
|
||||
"uuid": "3e918f03-10af-4509-8958-78bfa3be6ad0",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
@@ -290,7 +290,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 960,
|
||||
"height": 843
|
||||
"height": 803
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -485,13 +485,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": ""
|
||||
},
|
||||
@@ -600,8 +600,8 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": false,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 2,
|
||||
"allowDynamicAtlas": 2,
|
||||
"_N$autoSwitchMaterial": 2,
|
||||
"_N$allowDynamicAtlas": 2,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
@@ -693,7 +693,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 200,
|
||||
"height": 390
|
||||
"height": 310
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -705,7 +705,7 @@
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-180,
|
||||
-195,
|
||||
-155,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
@@ -769,7 +769,7 @@
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
130,
|
||||
90,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
@@ -817,13 +817,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": ""
|
||||
},
|
||||
@@ -865,8 +865,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 900,
|
||||
"height": 1200
|
||||
"width": 700,
|
||||
"height": 800
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -932,8 +932,8 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": false,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 2,
|
||||
"allowDynamicAtlas": 2,
|
||||
"_N$autoSwitchMaterial": 2,
|
||||
"_N$allowDynamicAtlas": 2,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
@@ -958,7 +958,7 @@
|
||||
"_layoutSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 200,
|
||||
"height": 390
|
||||
"height": 310
|
||||
},
|
||||
"_resize": 1,
|
||||
"_N$layoutType": 2,
|
||||
@@ -1149,13 +1149,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": ""
|
||||
},
|
||||
@@ -1264,8 +1264,8 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": false,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 2,
|
||||
"allowDynamicAtlas": 2,
|
||||
"_N$autoSwitchMaterial": 2,
|
||||
"_N$allowDynamicAtlas": 2,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
@@ -1481,13 +1481,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": ""
|
||||
},
|
||||
@@ -1596,8 +1596,8 @@
|
||||
"_fillRange": 0.7,
|
||||
"_isTrimmedMode": false,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 2,
|
||||
"allowDynamicAtlas": 2,
|
||||
"_N$autoSwitchMaterial": 2,
|
||||
"_N$allowDynamicAtlas": 2,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
@@ -1701,7 +1701,7 @@
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-380,
|
||||
-520.5,
|
||||
-480.5,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
@@ -1813,13 +1813,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": ""
|
||||
},
|
||||
@@ -1928,8 +1928,8 @@
|
||||
"_fillRange": 0.7,
|
||||
"_isTrimmedMode": false,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 2,
|
||||
"allowDynamicAtlas": 2,
|
||||
"_N$autoSwitchMaterial": 2,
|
||||
"_N$allowDynamicAtlas": 2,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
@@ -2033,7 +2033,7 @@
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-180,
|
||||
-480,
|
||||
-440,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
@@ -2145,13 +2145,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": ""
|
||||
},
|
||||
@@ -2254,13 +2254,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 2,
|
||||
"allowDynamicAtlas": 2,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 2,
|
||||
"_N$allowDynamicAtlas": 2,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": ""
|
||||
},
|
||||
@@ -2365,7 +2365,7 @@
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
20,
|
||||
-480,
|
||||
-440,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
@@ -2477,13 +2477,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": ""
|
||||
},
|
||||
@@ -2590,13 +2590,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 2,
|
||||
"allowDynamicAtlas": 2,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 0,
|
||||
"_N$autoSwitchMaterial": 2,
|
||||
"_N$allowDynamicAtlas": 2,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": ""
|
||||
},
|
||||
@@ -2701,7 +2701,7 @@
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
220,
|
||||
-475,
|
||||
-435,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
@@ -2813,13 +2813,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": ""
|
||||
},
|
||||
@@ -2927,8 +2927,8 @@
|
||||
"a": 255
|
||||
},
|
||||
"_fastMode": false,
|
||||
"autoSwitchMaterial": 2,
|
||||
"_N$preview": true,
|
||||
"_N$autoSwitchMaterial": 2,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
@@ -3032,7 +3032,7 @@
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-380,
|
||||
-747,
|
||||
-707,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
@@ -3144,13 +3144,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": ""
|
||||
},
|
||||
@@ -3260,8 +3260,6 @@
|
||||
"_headAniInfo": null,
|
||||
"_playTimes": 0,
|
||||
"_isAniComplete": true,
|
||||
"autoSwitchMaterial": 2,
|
||||
"allowDynamicAtlas": 2,
|
||||
"_N$skeletonData": {
|
||||
"__uuid__": "bcd99389-a393-426e-b234-157c62b44bc4"
|
||||
},
|
||||
@@ -3271,6 +3269,8 @@
|
||||
"_N$debugMesh": false,
|
||||
"_N$useTint": false,
|
||||
"_N$enableBatch": true,
|
||||
"_N$autoSwitchMaterial": 2,
|
||||
"_N$allowDynamicAtlas": 2,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
@@ -3374,7 +3374,7 @@
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
-180,
|
||||
-747,
|
||||
-707,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
@@ -3486,13 +3486,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": ""
|
||||
},
|
||||
@@ -3602,8 +3602,6 @@
|
||||
"_headAniInfo": null,
|
||||
"_playTimes": 0,
|
||||
"_isAniComplete": true,
|
||||
"autoSwitchMaterial": 2,
|
||||
"allowDynamicAtlas": 2,
|
||||
"_N$skeletonData": {
|
||||
"__uuid__": "bcd99389-a393-426e-b234-157c62b44bc4"
|
||||
},
|
||||
@@ -3613,6 +3611,8 @@
|
||||
"_N$debugMesh": false,
|
||||
"_N$useTint": false,
|
||||
"_N$enableBatch": true,
|
||||
"_N$autoSwitchMaterial": 2,
|
||||
"_N$allowDynamicAtlas": 2,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
@@ -3716,7 +3716,7 @@
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
20,
|
||||
-746,
|
||||
-706,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
@@ -3828,13 +3828,13 @@
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$horizontalAlign": 1,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 2,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_N$enableRetina": 0,
|
||||
"_id": ""
|
||||
},
|
||||
@@ -3943,8 +3943,8 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": false,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 2,
|
||||
"allowDynamicAtlas": 2,
|
||||
"_N$autoSwitchMaterial": 2,
|
||||
"_N$allowDynamicAtlas": 2,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
@@ -4024,7 +4024,7 @@
|
||||
"_layoutSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 960,
|
||||
"height": 843
|
||||
"height": 803
|
||||
},
|
||||
"_resize": 1,
|
||||
"_N$layoutType": 3,
|
||||
@@ -4289,8 +4289,8 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
@@ -4410,8 +4410,8 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
@@ -4482,8 +4482,8 @@
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": false,
|
||||
"_atlas": null,
|
||||
"autoSwitchMaterial": 0,
|
||||
"allowDynamicAtlas": 0,
|
||||
"_N$autoSwitchMaterial": 0,
|
||||
"_N$allowDynamicAtlas": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user