NodeTouchControl.prefab 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "",
  5. "_objFlags": 0,
  6. "_rawFiles": null,
  7. "data": {
  8. "__id__": 1
  9. }
  10. },
  11. {
  12. "__type__": "cc.Node",
  13. "_name": "NodeTouchControl",
  14. "_objFlags": 0,
  15. "_parent": null,
  16. "_children": [],
  17. "_tag": -1,
  18. "_active": true,
  19. "_components": [
  20. {
  21. "__id__": 2
  22. },
  23. {
  24. "__id__": 3
  25. },
  26. {
  27. "__id__": 4
  28. },
  29. {
  30. "__id__": 5
  31. },
  32. {
  33. "__id__": 6
  34. }
  35. ],
  36. "_prefab": {
  37. "__id__": 7
  38. },
  39. "_id": "",
  40. "_opacity": 255,
  41. "_color": {
  42. "__type__": "cc.Color",
  43. "r": 255,
  44. "g": 7,
  45. "b": 7,
  46. "a": 255
  47. },
  48. "_cascadeOpacityEnabled": true,
  49. "_anchorPoint": {
  50. "__type__": "cc.Vec2",
  51. "x": 0.5,
  52. "y": 0.5
  53. },
  54. "_contentSize": {
  55. "__type__": "cc.Size",
  56. "width": 82,
  57. "height": 188
  58. },
  59. "_rotationX": 0,
  60. "_rotationY": 0,
  61. "_scaleX": 1,
  62. "_scaleY": 1,
  63. "_position": {
  64. "__type__": "cc.Vec2",
  65. "x": 565.5,
  66. "y": -56
  67. },
  68. "_skewX": 0,
  69. "_skewY": 0,
  70. "_localZOrder": 0,
  71. "_globalZOrder": 0,
  72. "_opacityModifyRGB": false,
  73. "groupIndex": 0
  74. },
  75. {
  76. "__type__": "cc.Sprite",
  77. "_name": "",
  78. "_objFlags": 0,
  79. "node": {
  80. "__id__": 1
  81. },
  82. "_enabled": false,
  83. "_spriteFrame": {
  84. "__uuid__": "842eae54-033a-4118-9c41-94d2fa7689c1"
  85. },
  86. "_type": 0,
  87. "_sizeMode": 1,
  88. "_fillType": 0,
  89. "_fillCenter": {
  90. "__type__": "cc.Vec2",
  91. "x": 0,
  92. "y": 0
  93. },
  94. "_fillStart": 0,
  95. "_fillRange": 0,
  96. "_isTrimmedMode": true,
  97. "_srcBlendFactor": 770,
  98. "_dstBlendFactor": 771,
  99. "_atlas": null
  100. },
  101. {
  102. "__type__": "cc.PolygonCollider",
  103. "_name": "",
  104. "_objFlags": 0,
  105. "node": {
  106. "__id__": 1
  107. },
  108. "_enabled": false,
  109. "tag": 0,
  110. "_offset": {
  111. "__type__": "cc.Vec2",
  112. "x": 0,
  113. "y": 0
  114. },
  115. "points": [
  116. {
  117. "__type__": "cc.Vec2",
  118. "x": -41,
  119. "y": -93.97
  120. },
  121. {
  122. "__type__": "cc.Vec2",
  123. "x": -8.4,
  124. "y": -93.9
  125. },
  126. {
  127. "__type__": "cc.Vec2",
  128. "x": 61.5,
  129. "y": 93.5
  130. },
  131. {
  132. "__type__": "cc.Vec2",
  133. "x": 27.7,
  134. "y": 93.5
  135. }
  136. ]
  137. },
  138. {
  139. "__type__": "73666phpwdGEKUtiS3tQ18d",
  140. "_name": "",
  141. "_objFlags": 0,
  142. "node": {
  143. "__id__": 1
  144. },
  145. "_enabled": true,
  146. "tag": false
  147. },
  148. {
  149. "__type__": "cc.RigidBody",
  150. "_name": "",
  151. "_objFlags": 0,
  152. "node": {
  153. "__id__": 1
  154. },
  155. "_enabled": true,
  156. "_type": 1,
  157. "_allowSleep": true,
  158. "_gravityScale": 1,
  159. "_linearDamping": 0,
  160. "_angularDamping": 0,
  161. "_linearVelocity": {
  162. "__type__": "cc.Vec2",
  163. "x": 0,
  164. "y": 0
  165. },
  166. "_angularVelocity": 0,
  167. "_fixedRotation": false,
  168. "enabledContactListener": true,
  169. "bullet": false
  170. },
  171. {
  172. "__type__": "cc.PhysicsPolygonCollider",
  173. "_name": "",
  174. "_objFlags": 0,
  175. "node": {
  176. "__id__": 1
  177. },
  178. "_enabled": true,
  179. "tag": 0,
  180. "_density": 1,
  181. "_sensor": true,
  182. "_friction": 0.2,
  183. "_restitution": 0,
  184. "body": null,
  185. "_offset": {
  186. "__type__": "cc.Vec2",
  187. "x": 0,
  188. "y": 0
  189. },
  190. "points": [
  191. {
  192. "__type__": "cc.Vec2",
  193. "x": -40.7,
  194. "y": -94
  195. },
  196. {
  197. "__type__": "cc.Vec2",
  198. "x": -38.9,
  199. "y": -94.1
  200. },
  201. {
  202. "__type__": "cc.Vec2",
  203. "x": 40.6,
  204. "y": 93.9
  205. },
  206. {
  207. "__type__": "cc.Vec2",
  208. "x": 37.8,
  209. "y": 93.9
  210. }
  211. ]
  212. },
  213. {
  214. "__type__": "cc.PrefabInfo",
  215. "root": {
  216. "__id__": 1
  217. },
  218. "asset": {
  219. "__uuid__": "b27e4982-b290-44c7-bbbe-f12dc61085da"
  220. },
  221. "fileId": "9a6u+rB95OpY/NLrlB4R+2",
  222. "sync": false
  223. }
  224. ]