mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
3240dba206
* Rename ui related components * Rename files * Remove Useless errors * Fix sealed names * Fix sealed global variables * Fix circular reference * Refactor more component names * Rename particle and animation related component * export scene and models sub module in renderer * Rename ModelComponents to Model * Refactor LightComponents to Light * Refactor CameraComponent to Camera * Refactor ConstraintComponents to Constraint and rename physics comps * Cleanup and fix issues * Small fixes * Refactor Model to MeshRenderer * Final touch * Fix data class export * Better deprecation to cover all old usage * Simpler and better deprecation with js.setClassAlias * Fix ci * Fix editor issue
314 lines
5.4 KiB
Plaintext
314 lines
5.4 KiB
Plaintext
[
|
|
{
|
|
"__type__": "cc.Prefab",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"_native": "",
|
|
"data": {
|
|
"__id__": 1
|
|
},
|
|
"optimizationPolicy": 0,
|
|
"asyncLoadAssets": false
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Button",
|
|
"_objFlags": 0,
|
|
"_parent": null,
|
|
"_children": [
|
|
{
|
|
"__id__": 2
|
|
}
|
|
],
|
|
"_active": true,
|
|
"_level": 2,
|
|
"_components": [
|
|
{
|
|
"__id__": 6
|
|
},
|
|
{
|
|
"__id__": 7
|
|
},
|
|
{
|
|
"__id__": 8
|
|
}
|
|
],
|
|
"_prefab": {
|
|
"__id__": 9
|
|
},
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_lrot": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 1
|
|
},
|
|
"_lscale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1,
|
|
"y": 1,
|
|
"z": 1
|
|
},
|
|
"_layer": 33554432,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Label",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 1
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_level": 3,
|
|
"_components": [
|
|
{
|
|
"__id__": 3
|
|
},
|
|
{
|
|
"__id__": 4
|
|
}
|
|
],
|
|
"_prefab": {
|
|
"__id__": 5
|
|
},
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_lrot": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 1
|
|
},
|
|
"_lscale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1,
|
|
"y": 1,
|
|
"z": 1
|
|
},
|
|
"_layer": 33554432,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 100,
|
|
"height": 40
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_id": "",
|
|
"_priority": 0
|
|
},
|
|
{
|
|
"__type__": "cc.Label",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"_srcBlendFactor": 2,
|
|
"_dstBlendFactor": 4,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 0,
|
|
"g": 0,
|
|
"b": 0,
|
|
"a": 255
|
|
},
|
|
"_sharedMaterial": null,
|
|
"_useOriginalSize": true,
|
|
"_string": "button",
|
|
"_horizontalAlign": 1,
|
|
"_verticalAlign": 1,
|
|
"_actualFontSize": 20,
|
|
"_fontSize": 20,
|
|
"_fontFamily": "Arial",
|
|
"_lineHeight": 40,
|
|
"_overflow": 1,
|
|
"_enableWrapText": false,
|
|
"_font": null,
|
|
"_isSystemFontUsed": true,
|
|
"_isItalic": false,
|
|
"_isBold": false,
|
|
"_isUnderline": false,
|
|
"_cacheMode": 0,
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": {
|
|
"__id__": 1
|
|
},
|
|
"asset": {
|
|
"__uuid__": "90bdd2a9-2838-4888-b66c-e94c8b7a5169"
|
|
},
|
|
"fileId": "99oRe7NgdNvrQe2oNkTmkx",
|
|
"sync": false,
|
|
"_synced": {
|
|
"default": false,
|
|
"serializable": false
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 1
|
|
},
|
|
"_enabled": true,
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 100,
|
|
"height": 40
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_id": "",
|
|
"_priority": 0
|
|
},
|
|
{
|
|
"__type__": "cc.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 1
|
|
},
|
|
"_enabled": true,
|
|
"_srcBlendFactor": 2,
|
|
"_dstBlendFactor": 4,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_sharedMaterial": null,
|
|
"_spriteFrame": {
|
|
"__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941"
|
|
},
|
|
"_type": 1,
|
|
"_fillType": 0,
|
|
"_sizeMode": 0,
|
|
"_fillCenter": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"_fillStart": 0,
|
|
"_fillRange": 0,
|
|
"_isTrimmedMode": true,
|
|
"_atlas": null,
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.Button",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 1
|
|
},
|
|
"_enabled": true,
|
|
"clickEvents": [],
|
|
"_interactable": true,
|
|
"_transition": 2,
|
|
"_normalColor": {
|
|
"__type__": "cc.Color",
|
|
"r": 214,
|
|
"g": 214,
|
|
"b": 214,
|
|
"a": 255
|
|
},
|
|
"_hoverColor": {
|
|
"__type__": "cc.Color",
|
|
"r": 211,
|
|
"g": 211,
|
|
"b": 211,
|
|
"a": 255
|
|
},
|
|
"_pressColor": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_disabledColor": {
|
|
"__type__": "cc.Color",
|
|
"r": 124,
|
|
"g": 124,
|
|
"b": 124,
|
|
"a": 255
|
|
},
|
|
"_normalSprite": {
|
|
"__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941"
|
|
},
|
|
"_hoverSprite": {
|
|
"__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941"
|
|
},
|
|
"_pressedSprite": {
|
|
"__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941"
|
|
},
|
|
"_disabledSprite": {
|
|
"__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941"
|
|
},
|
|
"_duration": 0.1,
|
|
"_zoomScale": 1.2,
|
|
"_target": {
|
|
"__id__": 1
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": {
|
|
"__id__": 1
|
|
},
|
|
"asset": {
|
|
"__uuid__": "90bdd2a9-2838-4888-b66c-e94c8b7a5169"
|
|
},
|
|
"fileId": "80LJYphSdNMqbi3XYDUm5q",
|
|
"sync": false,
|
|
"_synced": true
|
|
}
|
|
] |