267 lines
4.5 KiB
Plaintext
267 lines
4.5 KiB
Plaintext
|
[
|
||
|
{
|
||
|
"__type__": "cc.Prefab",
|
||
|
"_name": "Ball",
|
||
|
"_objFlags": 0,
|
||
|
"_native": "",
|
||
|
"data": {
|
||
|
"__id__": 1
|
||
|
},
|
||
|
"optimizationPolicy": 0,
|
||
|
"persistent": false
|
||
|
},
|
||
|
{
|
||
|
"__type__": "cc.Node",
|
||
|
"_name": "Ball",
|
||
|
"_objFlags": 0,
|
||
|
"__editorExtras__": {},
|
||
|
"_parent": null,
|
||
|
"_children": [],
|
||
|
"_active": true,
|
||
|
"_components": [
|
||
|
{
|
||
|
"__id__": 2
|
||
|
},
|
||
|
{
|
||
|
"__id__": 4
|
||
|
},
|
||
|
{
|
||
|
"__id__": 6
|
||
|
},
|
||
|
{
|
||
|
"__id__": 8
|
||
|
},
|
||
|
{
|
||
|
"__id__": 10
|
||
|
}
|
||
|
],
|
||
|
"_prefab": {
|
||
|
"__id__": 12
|
||
|
},
|
||
|
"_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": 0.3,
|
||
|
"y": 0.3,
|
||
|
"z": 1
|
||
|
},
|
||
|
"_mobility": 0,
|
||
|
"_layer": 33554432,
|
||
|
"_euler": {
|
||
|
"__type__": "cc.Vec3",
|
||
|
"x": 0,
|
||
|
"y": 0,
|
||
|
"z": 0
|
||
|
},
|
||
|
"_id": ""
|
||
|
},
|
||
|
{
|
||
|
"__type__": "cc.UITransform",
|
||
|
"_name": "",
|
||
|
"_objFlags": 0,
|
||
|
"__editorExtras__": {},
|
||
|
"node": {
|
||
|
"__id__": 1
|
||
|
},
|
||
|
"_enabled": true,
|
||
|
"__prefab": {
|
||
|
"__id__": 3
|
||
|
},
|
||
|
"_contentSize": {
|
||
|
"__type__": "cc.Size",
|
||
|
"width": 200,
|
||
|
"height": 200
|
||
|
},
|
||
|
"_anchorPoint": {
|
||
|
"__type__": "cc.Vec2",
|
||
|
"x": 0.5,
|
||
|
"y": 0.5
|
||
|
},
|
||
|
"_id": ""
|
||
|
},
|
||
|
{
|
||
|
"__type__": "cc.CompPrefabInfo",
|
||
|
"fileId": "beBPBHPMpEJraWP8VptTuG"
|
||
|
},
|
||
|
{
|
||
|
"__type__": "cc.Sprite",
|
||
|
"_name": "",
|
||
|
"_objFlags": 0,
|
||
|
"__editorExtras__": {},
|
||
|
"node": {
|
||
|
"__id__": 1
|
||
|
},
|
||
|
"_enabled": true,
|
||
|
"__prefab": {
|
||
|
"__id__": 5
|
||
|
},
|
||
|
"_customMaterial": null,
|
||
|
"_srcBlendFactor": 2,
|
||
|
"_dstBlendFactor": 4,
|
||
|
"_color": {
|
||
|
"__type__": "cc.Color",
|
||
|
"r": 255,
|
||
|
"g": 255,
|
||
|
"b": 255,
|
||
|
"a": 255
|
||
|
},
|
||
|
"_spriteFrame": {
|
||
|
"__uuid__": "4f72234d-abd9-4cef-acf2-bd453ad42c8d@f9941",
|
||
|
"__expectedType__": "cc.SpriteFrame"
|
||
|
},
|
||
|
"_type": 0,
|
||
|
"_fillType": 0,
|
||
|
"_sizeMode": 1,
|
||
|
"_fillCenter": {
|
||
|
"__type__": "cc.Vec2",
|
||
|
"x": 0,
|
||
|
"y": 0
|
||
|
},
|
||
|
"_fillStart": 0,
|
||
|
"_fillRange": 0,
|
||
|
"_isTrimmedMode": true,
|
||
|
"_useGrayscale": false,
|
||
|
"_atlas": null,
|
||
|
"_id": ""
|
||
|
},
|
||
|
{
|
||
|
"__type__": "cc.CompPrefabInfo",
|
||
|
"fileId": "bbNUf7fcREKbdMzeD2KyNQ"
|
||
|
},
|
||
|
{
|
||
|
"__type__": "cc.CircleCollider2D",
|
||
|
"_name": "",
|
||
|
"_objFlags": 0,
|
||
|
"__editorExtras__": {},
|
||
|
"node": {
|
||
|
"__id__": 1
|
||
|
},
|
||
|
"_enabled": true,
|
||
|
"__prefab": {
|
||
|
"__id__": 7
|
||
|
},
|
||
|
"tag": 0,
|
||
|
"_group": 1,
|
||
|
"_density": 1,
|
||
|
"_sensor": false,
|
||
|
"_friction": 0,
|
||
|
"_restitution": 0.5,
|
||
|
"_offset": {
|
||
|
"__type__": "cc.Vec2",
|
||
|
"x": 0,
|
||
|
"y": 0
|
||
|
},
|
||
|
"_radius": 100,
|
||
|
"_id": ""
|
||
|
},
|
||
|
{
|
||
|
"__type__": "cc.CompPrefabInfo",
|
||
|
"fileId": "1dqSoMImdC0rB01Xr+HmI/"
|
||
|
},
|
||
|
{
|
||
|
"__type__": "cc.RigidBody2D",
|
||
|
"_name": "",
|
||
|
"_objFlags": 0,
|
||
|
"__editorExtras__": {},
|
||
|
"node": {
|
||
|
"__id__": 1
|
||
|
},
|
||
|
"_enabled": true,
|
||
|
"__prefab": {
|
||
|
"__id__": 9
|
||
|
},
|
||
|
"enabledContactListener": true,
|
||
|
"bullet": true,
|
||
|
"awakeOnLoad": true,
|
||
|
"_group": 1,
|
||
|
"_type": 2,
|
||
|
"_allowSleep": true,
|
||
|
"_gravityScale": 1,
|
||
|
"_linearDamping": 0,
|
||
|
"_angularDamping": 0,
|
||
|
"_linearVelocity": {
|
||
|
"__type__": "cc.Vec2",
|
||
|
"x": 0,
|
||
|
"y": 0
|
||
|
},
|
||
|
"_angularVelocity": 0,
|
||
|
"_fixedRotation": false,
|
||
|
"_id": ""
|
||
|
},
|
||
|
{
|
||
|
"__type__": "cc.CompPrefabInfo",
|
||
|
"fileId": "9crXsAtjdEQIcD0a2IceFl"
|
||
|
},
|
||
|
{
|
||
|
"__type__": "cad12cEubBIXb2NvvCon5Ge",
|
||
|
"_name": "",
|
||
|
"_objFlags": 0,
|
||
|
"node": {
|
||
|
"__id__": 1
|
||
|
},
|
||
|
"_enabled": true,
|
||
|
"__prefab": {
|
||
|
"__id__": 11
|
||
|
},
|
||
|
"maxSpeed": 2,
|
||
|
"rigidbody": {
|
||
|
"__id__": 8
|
||
|
},
|
||
|
"collider": {
|
||
|
"__id__": 6
|
||
|
},
|
||
|
"_id": ""
|
||
|
},
|
||
|
{
|
||
|
"__type__": "cc.CompPrefabInfo",
|
||
|
"fileId": "c1lmpQL0VK3q2DI79nkPRA"
|
||
|
},
|
||
|
{
|
||
|
"__type__": "cc.PrefabInfo",
|
||
|
"root": {
|
||
|
"__id__": 1
|
||
|
},
|
||
|
"asset": {
|
||
|
"__id__": 0
|
||
|
},
|
||
|
"fileId": "ecwvc2xHdIf6kSfbLqrETl",
|
||
|
"instance": null,
|
||
|
"targetOverrides": [
|
||
|
{
|
||
|
"__id__": 13
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"__type__": "cc.TargetOverrideInfo",
|
||
|
"source": {
|
||
|
"__id__": 10
|
||
|
},
|
||
|
"sourceInfo": null,
|
||
|
"propertyPath": [
|
||
|
"goalParticle"
|
||
|
],
|
||
|
"target": null,
|
||
|
"targetInfo": {
|
||
|
"__id__": 14
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"__type__": "cc.TargetInfo",
|
||
|
"localID": [
|
||
|
"74gD9Y10BHHIFl8LKXE/Rx"
|
||
|
]
|
||
|
}
|
||
|
]
|