gl.animgraph 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. [
  2. {
  3. "__type__": "cc.animation.AnimationGraph",
  4. "_name": "",
  5. "_objFlags": 0,
  6. "_native": "",
  7. "_layers": [
  8. {
  9. "__id__": 1
  10. }
  11. ],
  12. "_variables": {
  13. "Dir": {
  14. "__id__": 48
  15. }
  16. }
  17. },
  18. {
  19. "__type__": "cc.animation.Layer",
  20. "_stateMachine": {
  21. "__id__": 2
  22. },
  23. "name": "",
  24. "weight": 1,
  25. "mask": null
  26. },
  27. {
  28. "__type__": "cc.animation.StateMachine",
  29. "__editorExtras__": {
  30. "name": "",
  31. "id": "16926363645430.5722879862472681",
  32. "clone": null,
  33. "viewport": {
  34. "scale": 1,
  35. "top": 0,
  36. "left": 0
  37. }
  38. },
  39. "_states": [
  40. {
  41. "__id__": 3
  42. },
  43. {
  44. "__id__": 4
  45. },
  46. {
  47. "__id__": 5
  48. },
  49. {
  50. "__id__": 6
  51. },
  52. {
  53. "__id__": 8
  54. },
  55. {
  56. "__id__": 10
  57. }
  58. ],
  59. "_transitions": [
  60. {
  61. "__id__": 12
  62. },
  63. {
  64. "__id__": 16
  65. },
  66. {
  67. "__id__": 20
  68. },
  69. {
  70. "__id__": 24
  71. },
  72. {
  73. "__id__": 28
  74. },
  75. {
  76. "__id__": 32
  77. },
  78. {
  79. "__id__": 36
  80. },
  81. {
  82. "__id__": 40
  83. },
  84. {
  85. "__id__": 44
  86. }
  87. ],
  88. "_entryState": {
  89. "__id__": 3
  90. },
  91. "_exitState": {
  92. "__id__": 4
  93. },
  94. "_anyState": {
  95. "__id__": 5
  96. }
  97. },
  98. {
  99. "__type__": "cc.animation.State",
  100. "__editorExtras__": {
  101. "name": "",
  102. "id": "16926363645430.510384050267416",
  103. "clone": null,
  104. "centerX": -244.5,
  105. "centerY": 13.25
  106. },
  107. "name": "Entry"
  108. },
  109. {
  110. "__type__": "cc.animation.State",
  111. "__editorExtras__": {
  112. "name": "",
  113. "id": "16926363645430.01762701043262105",
  114. "clone": null,
  115. "centerX": 125,
  116. "centerY": 0
  117. },
  118. "name": "Exit"
  119. },
  120. {
  121. "__type__": "cc.animation.State",
  122. "__editorExtras__": {
  123. "name": "",
  124. "id": "16926363645430.2036399478280313",
  125. "clone": null,
  126. "centerX": 244.5,
  127. "centerY": 15.25
  128. },
  129. "name": "Any"
  130. },
  131. {
  132. "__type__": "cc.animation.Motion",
  133. "__editorExtras__": {
  134. "name": "gln",
  135. "id": "16926367506830.46082649669901876",
  136. "clone": null,
  137. "centerX": 7,
  138. "centerY": -49.5
  139. },
  140. "name": "gln",
  141. "_components": [],
  142. "motion": {
  143. "__id__": 7
  144. },
  145. "speed": 1,
  146. "speedMultiplier": "",
  147. "speedMultiplierEnabled": false
  148. },
  149. {
  150. "__type__": "cc.animation.ClipMotion",
  151. "__editorExtras__": {
  152. "name": "",
  153. "id": "16926367506830.9185639409560467",
  154. "clone": null
  155. },
  156. "clip": {
  157. "__uuid__": "a2d81bf8-2807-41db-a7d0-a04376adc7c2",
  158. "__expectedType__": "cc.AnimationClip"
  159. }
  160. },
  161. {
  162. "__type__": "cc.animation.Motion",
  163. "__editorExtras__": {
  164. "name": "gls",
  165. "id": "16926367870410.3596749799664294",
  166. "clone": null,
  167. "centerX": 5,
  168. "centerY": 61.5
  169. },
  170. "name": "gls",
  171. "_components": [],
  172. "motion": {
  173. "__id__": 9
  174. },
  175. "speed": 1,
  176. "speedMultiplier": "",
  177. "speedMultiplierEnabled": false
  178. },
  179. {
  180. "__type__": "cc.animation.ClipMotion",
  181. "__editorExtras__": {
  182. "name": "",
  183. "id": "16926367870410.23237901807876793",
  184. "clone": null
  185. },
  186. "clip": {
  187. "__uuid__": "660fed3d-0834-4c50-9b23-9cdc8ab00fe2",
  188. "__expectedType__": "cc.AnimationClip"
  189. }
  190. },
  191. {
  192. "__type__": "cc.animation.Motion",
  193. "__editorExtras__": {
  194. "name": "glt",
  195. "id": "16926375204250.983471497069518",
  196. "clone": null,
  197. "centerX": 131,
  198. "centerY": 13.5
  199. },
  200. "name": "glt",
  201. "_components": [],
  202. "motion": {
  203. "__id__": 11
  204. },
  205. "speed": 1,
  206. "speedMultiplier": "",
  207. "speedMultiplierEnabled": false
  208. },
  209. {
  210. "__type__": "cc.animation.ClipMotion",
  211. "__editorExtras__": {
  212. "name": "",
  213. "id": "16926375204250.716270882278611",
  214. "clone": null
  215. },
  216. "clip": null
  217. },
  218. {
  219. "__type__": "cc.animation.Transition",
  220. "__editorExtras__": null,
  221. "from": {
  222. "__id__": 3
  223. },
  224. "to": {
  225. "__id__": 6
  226. },
  227. "conditions": [
  228. {
  229. "__id__": 13
  230. }
  231. ]
  232. },
  233. {
  234. "__type__": "cc.animation.BinaryCondition",
  235. "operator": 2,
  236. "lhs": {
  237. "__id__": 14
  238. },
  239. "rhs": {
  240. "__id__": 15
  241. }
  242. },
  243. {
  244. "__type__": "cc.animation.BindableNumber",
  245. "variable": "Dir",
  246. "value": 0
  247. },
  248. {
  249. "__type__": "cc.animation.BindableNumber",
  250. "variable": "",
  251. "value": 0
  252. },
  253. {
  254. "__type__": "cc.animation.Transition",
  255. "__editorExtras__": null,
  256. "from": {
  257. "__id__": 3
  258. },
  259. "to": {
  260. "__id__": 10
  261. },
  262. "conditions": [
  263. {
  264. "__id__": 17
  265. }
  266. ]
  267. },
  268. {
  269. "__type__": "cc.animation.BinaryCondition",
  270. "operator": 0,
  271. "lhs": {
  272. "__id__": 18
  273. },
  274. "rhs": {
  275. "__id__": 19
  276. }
  277. },
  278. {
  279. "__type__": "cc.animation.BindableNumber",
  280. "variable": "Dir",
  281. "value": 0
  282. },
  283. {
  284. "__type__": "cc.animation.BindableNumber",
  285. "variable": "",
  286. "value": 0
  287. },
  288. {
  289. "__type__": "cc.animation.Transition",
  290. "__editorExtras__": null,
  291. "from": {
  292. "__id__": 3
  293. },
  294. "to": {
  295. "__id__": 8
  296. },
  297. "conditions": [
  298. {
  299. "__id__": 21
  300. }
  301. ]
  302. },
  303. {
  304. "__type__": "cc.animation.BinaryCondition",
  305. "operator": 4,
  306. "lhs": {
  307. "__id__": 22
  308. },
  309. "rhs": {
  310. "__id__": 23
  311. }
  312. },
  313. {
  314. "__type__": "cc.animation.BindableNumber",
  315. "variable": "Dir",
  316. "value": 0
  317. },
  318. {
  319. "__type__": "cc.animation.BindableNumber",
  320. "variable": "",
  321. "value": 0
  322. },
  323. {
  324. "__type__": "cc.animation.AnimationTransition",
  325. "__editorExtras__": null,
  326. "from": {
  327. "__id__": 6
  328. },
  329. "to": {
  330. "__id__": 10
  331. },
  332. "conditions": [
  333. {
  334. "__id__": 25
  335. }
  336. ],
  337. "duration": 0,
  338. "relativeDuration": false,
  339. "exitConditionEnabled": true,
  340. "destinationStart": 0,
  341. "relativeDestinationStart": false,
  342. "interruptionSource": 0,
  343. "_exitCondition": 1
  344. },
  345. {
  346. "__type__": "cc.animation.BinaryCondition",
  347. "operator": 0,
  348. "lhs": {
  349. "__id__": 26
  350. },
  351. "rhs": {
  352. "__id__": 27
  353. }
  354. },
  355. {
  356. "__type__": "cc.animation.BindableNumber",
  357. "variable": "Dir",
  358. "value": 0
  359. },
  360. {
  361. "__type__": "cc.animation.BindableNumber",
  362. "variable": "",
  363. "value": 0
  364. },
  365. {
  366. "__type__": "cc.animation.AnimationTransition",
  367. "__editorExtras__": null,
  368. "from": {
  369. "__id__": 10
  370. },
  371. "to": {
  372. "__id__": 6
  373. },
  374. "conditions": [
  375. {
  376. "__id__": 29
  377. }
  378. ],
  379. "duration": 0,
  380. "relativeDuration": false,
  381. "exitConditionEnabled": true,
  382. "destinationStart": 0,
  383. "relativeDestinationStart": false,
  384. "interruptionSource": 0,
  385. "_exitCondition": 1
  386. },
  387. {
  388. "__type__": "cc.animation.BinaryCondition",
  389. "operator": 2,
  390. "lhs": {
  391. "__id__": 30
  392. },
  393. "rhs": {
  394. "__id__": 31
  395. }
  396. },
  397. {
  398. "__type__": "cc.animation.BindableNumber",
  399. "variable": "Dir",
  400. "value": 0
  401. },
  402. {
  403. "__type__": "cc.animation.BindableNumber",
  404. "variable": "",
  405. "value": 0
  406. },
  407. {
  408. "__type__": "cc.animation.AnimationTransition",
  409. "__editorExtras__": null,
  410. "from": {
  411. "__id__": 6
  412. },
  413. "to": {
  414. "__id__": 8
  415. },
  416. "conditions": [
  417. {
  418. "__id__": 33
  419. }
  420. ],
  421. "duration": 0,
  422. "relativeDuration": false,
  423. "exitConditionEnabled": true,
  424. "destinationStart": 0,
  425. "relativeDestinationStart": false,
  426. "interruptionSource": 0,
  427. "_exitCondition": 1
  428. },
  429. {
  430. "__type__": "cc.animation.BinaryCondition",
  431. "operator": 4,
  432. "lhs": {
  433. "__id__": 34
  434. },
  435. "rhs": {
  436. "__id__": 35
  437. }
  438. },
  439. {
  440. "__type__": "cc.animation.BindableNumber",
  441. "variable": "Dir",
  442. "value": 0
  443. },
  444. {
  445. "__type__": "cc.animation.BindableNumber",
  446. "variable": "",
  447. "value": 0
  448. },
  449. {
  450. "__type__": "cc.animation.AnimationTransition",
  451. "__editorExtras__": null,
  452. "from": {
  453. "__id__": 8
  454. },
  455. "to": {
  456. "__id__": 6
  457. },
  458. "conditions": [
  459. {
  460. "__id__": 37
  461. }
  462. ],
  463. "duration": 0,
  464. "relativeDuration": false,
  465. "exitConditionEnabled": true,
  466. "destinationStart": 0,
  467. "relativeDestinationStart": false,
  468. "interruptionSource": 0,
  469. "_exitCondition": 1
  470. },
  471. {
  472. "__type__": "cc.animation.BinaryCondition",
  473. "operator": 2,
  474. "lhs": {
  475. "__id__": 38
  476. },
  477. "rhs": {
  478. "__id__": 39
  479. }
  480. },
  481. {
  482. "__type__": "cc.animation.BindableNumber",
  483. "variable": "Dir",
  484. "value": 0
  485. },
  486. {
  487. "__type__": "cc.animation.BindableNumber",
  488. "variable": "",
  489. "value": 0
  490. },
  491. {
  492. "__type__": "cc.animation.AnimationTransition",
  493. "__editorExtras__": null,
  494. "from": {
  495. "__id__": 8
  496. },
  497. "to": {
  498. "__id__": 10
  499. },
  500. "conditions": [
  501. {
  502. "__id__": 41
  503. }
  504. ],
  505. "duration": 0,
  506. "relativeDuration": false,
  507. "exitConditionEnabled": true,
  508. "destinationStart": 0,
  509. "relativeDestinationStart": false,
  510. "interruptionSource": 0,
  511. "_exitCondition": 1
  512. },
  513. {
  514. "__type__": "cc.animation.BinaryCondition",
  515. "operator": 0,
  516. "lhs": {
  517. "__id__": 42
  518. },
  519. "rhs": {
  520. "__id__": 43
  521. }
  522. },
  523. {
  524. "__type__": "cc.animation.BindableNumber",
  525. "variable": "Dir",
  526. "value": 0
  527. },
  528. {
  529. "__type__": "cc.animation.BindableNumber",
  530. "variable": "",
  531. "value": 0
  532. },
  533. {
  534. "__type__": "cc.animation.AnimationTransition",
  535. "__editorExtras__": null,
  536. "from": {
  537. "__id__": 10
  538. },
  539. "to": {
  540. "__id__": 8
  541. },
  542. "conditions": [
  543. {
  544. "__id__": 45
  545. }
  546. ],
  547. "duration": 0,
  548. "relativeDuration": false,
  549. "exitConditionEnabled": true,
  550. "destinationStart": 0,
  551. "relativeDestinationStart": false,
  552. "interruptionSource": 0,
  553. "_exitCondition": 1
  554. },
  555. {
  556. "__type__": "cc.animation.BinaryCondition",
  557. "operator": 4,
  558. "lhs": {
  559. "__id__": 46
  560. },
  561. "rhs": {
  562. "__id__": 47
  563. }
  564. },
  565. {
  566. "__type__": "cc.animation.BindableNumber",
  567. "variable": "Dir",
  568. "value": 0
  569. },
  570. {
  571. "__type__": "cc.animation.BindableNumber",
  572. "variable": "",
  573. "value": 0
  574. },
  575. {
  576. "__type__": "cc.animation.PlainVariable",
  577. "_type": 0,
  578. "_value": 0
  579. }
  580. ]