mirror of
https://github.com/cheney2013/UIState.git
synced 2024-12-25 11:19:03 +00:00
09f8c3b46b
1.大幅提高编辑状态时的性能 2.更方便记录自定义组件
370 lines
6.3 KiB
Plaintext
370 lines
6.3 KiB
Plaintext
[
|
|
{
|
|
"__type__": "cc.SceneAsset",
|
|
"_name": "scene-2d",
|
|
"_objFlags": 0,
|
|
"_native": "",
|
|
"scene": {
|
|
"__id__": 1
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.Scene",
|
|
"_name": "scene-2d",
|
|
"_objFlags": 0,
|
|
"_parent": null,
|
|
"_children": [
|
|
{
|
|
"__id__": 2
|
|
}
|
|
],
|
|
"_active": true,
|
|
"_components": [],
|
|
"_prefab": null,
|
|
"autoReleaseAssets": false,
|
|
"_globals": {
|
|
"__id__": 8
|
|
},
|
|
"_id": "c77ecaa8-c936-46c4-a5b0-98692673ed87"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Canvas",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 1
|
|
},
|
|
"_children": [
|
|
{
|
|
"__id__": 3
|
|
}
|
|
],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 5
|
|
},
|
|
{
|
|
"__id__": 6
|
|
},
|
|
{
|
|
"__id__": 7
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 480,
|
|
"y": 320.00000000000006,
|
|
"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": "beI88Z2HpFELqR4T5EMHpg"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Camera",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 2
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 4
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_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": 1073741824,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": "ebFwiq8gBFaYpqYbdoDODe"
|
|
},
|
|
{
|
|
"__type__": "cc.Camera",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 3
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_projection": 0,
|
|
"_priority": 0,
|
|
"_fov": 45,
|
|
"_fovAxis": 0,
|
|
"_orthoHeight": 10,
|
|
"_near": 0,
|
|
"_far": 1000,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 0,
|
|
"g": 0,
|
|
"b": 0,
|
|
"a": 255
|
|
},
|
|
"_depth": 1,
|
|
"_stencil": 0,
|
|
"_clearFlags": 7,
|
|
"_rect": {
|
|
"__type__": "cc.Rect",
|
|
"x": 0,
|
|
"y": 0,
|
|
"width": 1,
|
|
"height": 1
|
|
},
|
|
"_aperture": 19,
|
|
"_shutter": 7,
|
|
"_iso": 0,
|
|
"_screenScale": 1,
|
|
"_visibility": 1108344832,
|
|
"_targetTexture": null,
|
|
"_id": "63WIch3o5BEYRlXzTT0oWc"
|
|
},
|
|
{
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 960,
|
|
"height": 640
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_id": "d6rUX5yfhMlKoWX2bSbawx"
|
|
},
|
|
{
|
|
"__type__": "cc.Canvas",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_cameraComponent": {
|
|
"__id__": 4
|
|
},
|
|
"_alignCanvasWithScreen": true,
|
|
"_id": "12O/ljcVlEqLmVm3U2gEOQ"
|
|
},
|
|
{
|
|
"__type__": "cc.Widget",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": null,
|
|
"_alignFlags": 45,
|
|
"_target": null,
|
|
"_left": 0,
|
|
"_right": 0,
|
|
"_top": 5.684341886080802e-14,
|
|
"_bottom": 5.684341886080802e-14,
|
|
"_horizontalCenter": 0,
|
|
"_verticalCenter": 0,
|
|
"_isAbsLeft": true,
|
|
"_isAbsRight": true,
|
|
"_isAbsTop": true,
|
|
"_isAbsBottom": true,
|
|
"_isAbsHorizontalCenter": true,
|
|
"_isAbsVerticalCenter": true,
|
|
"_originalWidth": 0,
|
|
"_originalHeight": 0,
|
|
"_alignMode": 2,
|
|
"_lockFlags": 0,
|
|
"_id": "c5V1EV8IpMtrIvY1OE9t2u"
|
|
},
|
|
{
|
|
"__type__": "cc.SceneGlobals",
|
|
"ambient": {
|
|
"__id__": 9
|
|
},
|
|
"shadows": {
|
|
"__id__": 10
|
|
},
|
|
"_skybox": {
|
|
"__id__": 11
|
|
},
|
|
"fog": {
|
|
"__id__": 12
|
|
},
|
|
"octree": {
|
|
"__id__": 13
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.AmbientInfo",
|
|
"_skyColorHDR": {
|
|
"__type__": "cc.Vec4",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 0.520833125
|
|
},
|
|
"_skyColor": {
|
|
"__type__": "cc.Vec4",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 0.520833125
|
|
},
|
|
"_skyIllumHDR": 20000,
|
|
"_skyIllum": 20000,
|
|
"_groundAlbedoHDR": {
|
|
"__type__": "cc.Vec4",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 0
|
|
},
|
|
"_groundAlbedo": {
|
|
"__type__": "cc.Vec4",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 0
|
|
},
|
|
"_skyColorLDR": {
|
|
"__type__": "cc.Vec4",
|
|
"x": 0.2,
|
|
"y": 0.5,
|
|
"z": 0.8,
|
|
"w": 1
|
|
},
|
|
"_skyIllumLDR": 20000,
|
|
"_groundAlbedoLDR": {
|
|
"__type__": "cc.Vec4",
|
|
"x": 0.2,
|
|
"y": 0.2,
|
|
"z": 0.2,
|
|
"w": 1
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.ShadowsInfo",
|
|
"_enabled": false,
|
|
"_type": 0,
|
|
"_normal": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 1,
|
|
"z": 0
|
|
},
|
|
"_distance": 0,
|
|
"_shadowColor": {
|
|
"__type__": "cc.Color",
|
|
"r": 76,
|
|
"g": 76,
|
|
"b": 76,
|
|
"a": 255
|
|
},
|
|
"_maxReceived": 4,
|
|
"_size": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 512,
|
|
"y": 512
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.SkyboxInfo",
|
|
"_envLightingType": 0,
|
|
"_envmapHDR": null,
|
|
"_envmap": null,
|
|
"_envmapLDR": null,
|
|
"_diffuseMapHDR": null,
|
|
"_diffuseMapLDR": null,
|
|
"_enabled": false,
|
|
"_useHDR": true
|
|
},
|
|
{
|
|
"__type__": "cc.FogInfo",
|
|
"_type": 0,
|
|
"_fogColor": {
|
|
"__type__": "cc.Color",
|
|
"r": 200,
|
|
"g": 200,
|
|
"b": 200,
|
|
"a": 255
|
|
},
|
|
"_enabled": false,
|
|
"_fogDensity": 0.3,
|
|
"_fogStart": 0.5,
|
|
"_fogEnd": 300,
|
|
"_fogAtten": 5,
|
|
"_fogTop": 1.5,
|
|
"_fogRange": 1.2,
|
|
"_accurate": false
|
|
},
|
|
{
|
|
"__type__": "cc.OctreeInfo",
|
|
"_enabled": false,
|
|
"_minPos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": -1024,
|
|
"y": -1024,
|
|
"z": -1024
|
|
},
|
|
"_maxPos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1024,
|
|
"y": 1024,
|
|
"z": 1024
|
|
},
|
|
"_depth": 8
|
|
}
|
|
] |