mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 08:42:43 +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
275 lines
4.5 KiB
Plaintext
275 lines
4.5 KiB
Plaintext
[
|
|
{
|
|
"__type__": "cc.Prefab",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"_native": "",
|
|
"data": {
|
|
"__id__": 1
|
|
},
|
|
"optimizationPolicy": 0,
|
|
"asyncLoadAssets": false
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "ProgressBar",
|
|
"_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": "Bar",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 1
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_level": 2,
|
|
"_components": [
|
|
{
|
|
"__id__": 3
|
|
},
|
|
{
|
|
"__id__": 4
|
|
}
|
|
],
|
|
"_prefab": {
|
|
"__id__": 5
|
|
},
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": -150,
|
|
"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": 150,
|
|
"height": 15
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0.5
|
|
},
|
|
"_id": "",
|
|
"_priority": 0
|
|
},
|
|
{
|
|
"__type__": "cc.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"_srcBlendFactor": 2,
|
|
"_dstBlendFactor": 4,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_sharedMaterial": null,
|
|
"_spriteFrame": {
|
|
"__uuid__": "24a704da-2867-446d-8d1a-5e920c75e09d@f9941"
|
|
},
|
|
"_type": 1,
|
|
"_fillType": 0,
|
|
"_sizeMode": 1,
|
|
"_fillCenter": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"_fillStart": 0,
|
|
"_fillRange": 0,
|
|
"_isTrimmedMode": true,
|
|
"_atlas": null,
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": {
|
|
"__id__": 1
|
|
},
|
|
"asset": {
|
|
"__id__": 0
|
|
},
|
|
"fileId": "41M8shm3JNAZH4s8uu8rgG",
|
|
"sync": false,
|
|
"_synced": {
|
|
"default": false,
|
|
"serializable": false
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 1
|
|
},
|
|
"_enabled": true,
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 300,
|
|
"height": 15
|
|
},
|
|
"_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__": "9fd900dd-221b-4f89-8f2c-fba34243c835@f9941"
|
|
},
|
|
"_type": 1,
|
|
"_fillType": 0,
|
|
"_sizeMode": 1,
|
|
"_fillCenter": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"_fillStart": 0,
|
|
"_fillRange": 0,
|
|
"_isTrimmedMode": true,
|
|
"_atlas": null,
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.ProgressBar",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 1
|
|
},
|
|
"_enabled": true,
|
|
"_barSprite": {
|
|
"__id__": 4
|
|
},
|
|
"_mode": 0,
|
|
"_totalLength": 300,
|
|
"_progress": 0.5,
|
|
"_reverse": false,
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": {
|
|
"__id__": 1
|
|
},
|
|
"asset": {
|
|
"__id__": 0
|
|
},
|
|
"fileId": "57OgHuVgZMi7YjfxaBX7ok",
|
|
"sync": false,
|
|
"_synced": {
|
|
"default": false,
|
|
"serializable": false
|
|
}
|
|
}
|
|
] |