[ { "__type__": "cc.Prefab", "_name": "enemy", "_objFlags": 0, "__editorExtras__": {}, "_native": "", "data": { "__id__": 1 }, "optimizationPolicy": 0, "persistent": false }, { "__type__": "cc.Node", "_name": "enemy", "_objFlags": 0, "__editorExtras__": {}, "_parent": null, "_children": [ { "__id__": 2 } ], "_active": true, "_components": [ { "__id__": 8 }, { "__id__": 10 }, { "__id__": 12 }, { "__id__": 14 } ], "_prefab": { "__id__": 16 }, "_lpos": { "__type__": "cc.Vec3", "x": 1064.644, "y": -641.149, "z": 0 }, "_lrot": { "__type__": "cc.Quat", "x": 0, "y": 0, "z": 0, "w": 1 }, "_lscale": { "__type__": "cc.Vec3", "x": 1, "y": 1, "z": 1 }, "_mobility": 0, "_layer": 33554432, "_euler": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 }, "_id": "" }, { "__type__": "cc.Node", "_name": "anim", "_objFlags": 0, "__editorExtras__": {}, "_parent": { "__id__": 1 }, "_children": [], "_active": true, "_components": [ { "__id__": 3 }, { "__id__": 5 } ], "_prefab": { "__id__": 7 }, "_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": 2, "y": 2, "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__": 2 }, "_enabled": true, "__prefab": { "__id__": 4 }, "_contentSize": { "__type__": "cc.Size", "width": 91.19000244140625, "height": 125.47000122070312 }, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.6302226086421067, "y": 0.0034271140748311827 }, "_id": "" }, { "__type__": "cc.CompPrefabInfo", "fileId": "f0yfl4JEhNcbJ0WmstSWln" }, { "__type__": "sp.Skeleton", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { "__id__": 2 }, "_enabled": true, "__prefab": { "__id__": 6 }, "_customMaterial": null, "_srcBlendFactor": 2, "_dstBlendFactor": 4, "_color": { "__type__": "cc.Color", "r": 255, "g": 255, "b": 255, "a": 255 }, "_skeletonData": { "__uuid__": "894a5548-3fdd-4311-ab64-6aee76158ba2", "__expectedType__": "sp.SkeletonData" }, "defaultSkin": "default", "defaultAnimation": "走路", "_premultipliedAlpha": true, "_timeScale": 1, "_preCacheMode": 0, "_cacheMode": 0, "_sockets": [], "_useTint": false, "_debugMesh": false, "_debugBones": false, "_debugSlots": false, "_enableBatch": false, "loop": true, "_id": "" }, { "__type__": "cc.CompPrefabInfo", "fileId": "d7ygjxD3ZCFYyY4yMDgJ45" }, { "__type__": "cc.PrefabInfo", "root": { "__id__": 1 }, "asset": { "__id__": 0 }, "fileId": "33+68/Y99OOLJyUoc4I00+", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { "__id__": 1 }, "_enabled": true, "__prefab": { "__id__": 9 }, "_contentSize": { "__type__": "cc.Size", "width": 106, "height": 200 }, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, "y": 0 }, "_id": "" }, { "__type__": "cc.CompPrefabInfo", "fileId": "0cJePJXM1AwI1VdJBWxiYt" }, { "__type__": "26a81uy3O5E7Y4p1dqAKJ1W", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { "__id__": 1 }, "_enabled": true, "__prefab": { "__id__": 11 }, "moveSpeed": 2000, "maxHp": 20, "hp": 20, "level": 1, "attackDamage": 1, "attackInterval": 0.6, "attackYTolerance": 80, "_id": "" }, { "__type__": "cc.CompPrefabInfo", "fileId": "95oWZitB5N4Larv4XkZ6JQ" }, { "__type__": "cc.BoxCollider2D", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { "__id__": 1 }, "_enabled": true, "__prefab": { "__id__": 13 }, "tag": 0, "_group": 4, "_density": 1, "_sensor": false, "_friction": 0.2, "_restitution": 0, "_offset": { "__type__": "cc.Vec2", "x": 0, "y": 100 }, "_size": { "__type__": "cc.Size", "width": 106, "height": 200 }, "_id": "" }, { "__type__": "cc.CompPrefabInfo", "fileId": "8fmUg55ZlEdox2SmoJ3Syt" }, { "__type__": "cc.RigidBody2D", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { "__id__": 1 }, "_enabled": true, "__prefab": { "__id__": 15 }, "enabledContactListener": false, "bullet": false, "awakeOnLoad": true, "_group": 4, "_type": 1, "_allowSleep": true, "_gravityScale": 1, "_linearDamping": 0, "_angularDamping": 0, "_linearVelocity": { "__type__": "cc.Vec2", "x": 0, "y": 0 }, "_angularVelocity": 0, "_fixedRotation": true, "_id": "" }, { "__type__": "cc.CompPrefabInfo", "fileId": "fdNZ9UbrVCp7nLwpVUitwK" }, { "__type__": "cc.PrefabInfo", "root": { "__id__": 1 }, "asset": { "__id__": 0 }, "fileId": "7bZT5c7J5JfrdKQ3yHP+z5", "instance": null, "targetOverrides": null } ]