mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12: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
123 lines
2.0 KiB
Plaintext
123 lines
2.0 KiB
Plaintext
[
|
|
{
|
|
"__type__": "cc.Prefab",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"_native": "",
|
|
"data": {
|
|
"__id__": 1
|
|
},
|
|
"optimizationPolicy": 0,
|
|
"asyncLoadAssets": false
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Layout",
|
|
"_objFlags": 0,
|
|
"_parent": null,
|
|
"_children": [],
|
|
"_active": true,
|
|
"_level": 2,
|
|
"_components": [
|
|
{
|
|
"__id__": 2
|
|
},
|
|
{
|
|
"__id__": 3
|
|
}
|
|
],
|
|
"_prefab": {
|
|
"__id__": 4
|
|
},
|
|
"_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__": 1
|
|
},
|
|
"_enabled": true,
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 100,
|
|
"height": 100
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.Layout",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 1
|
|
},
|
|
"_enabled": true,
|
|
"_resizeMode": 0,
|
|
"_N$layoutType": 0,
|
|
"_N$padding": 0,
|
|
"_cellSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 40,
|
|
"height": 40
|
|
},
|
|
"_startAxis": 0,
|
|
"_paddingLeft": 0,
|
|
"_paddingRight": 0,
|
|
"_paddingTop": 0,
|
|
"_paddingBottom": 0,
|
|
"_spacingX": 0,
|
|
"_spacingY": 0,
|
|
"_verticalDirection": 1,
|
|
"_horizontalDirection": 0,
|
|
"_affectedByScale": false,
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": {
|
|
"__id__": 1
|
|
},
|
|
"asset": {
|
|
"__id__": 0
|
|
},
|
|
"fileId": "708rGaUe1FubBlr3fE3DYE",
|
|
"sync": false,
|
|
"_synced": {
|
|
"default": false,
|
|
"serializable": false
|
|
}
|
|
}
|
|
] |