GameScene.ls 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629
  1. {
  2. "version":"LAYASCENE3D:01",
  3. "data":{
  4. "type":"Scene3D",
  5. "props":{
  6. "name":"GameScene",
  7. "ambientColor":[
  8. 0.212,
  9. 0.227,
  10. 0.259
  11. ],
  12. "lightmaps":[],
  13. "enableFog":false,
  14. "fogStart":0,
  15. "fogRange":300,
  16. "fogColor":[
  17. 0.5,
  18. 0.5,
  19. 0.5
  20. ]
  21. },
  22. "child":[
  23. {
  24. "type":"Camera",
  25. "props":{
  26. "name":"Main Camera",
  27. "active":true,
  28. "isStatic":false,
  29. "layer":0,
  30. "position":[
  31. 1.71,
  32. 7.4,
  33. -10.01
  34. ],
  35. "rotation":[
  36. -0.02379568,
  37. 0.9470121,
  38. 0.3120562,
  39. 0.07226899
  40. ],
  41. "scale":[
  42. 1,
  43. 1,
  44. 1
  45. ],
  46. "clearFlag":1,
  47. "orthographic":false,
  48. "fieldOfView":60,
  49. "nearPlane":0.3,
  50. "farPlane":1000,
  51. "viewport":[
  52. 0,
  53. 0,
  54. 1,
  55. 1
  56. ],
  57. "clearColor":[
  58. 0.1921569,
  59. 0.3019608,
  60. 0.4745098,
  61. 0
  62. ]
  63. },
  64. "components":[],
  65. "child":[]
  66. },
  67. {
  68. "type":"DirectionLight",
  69. "props":{
  70. "name":"Directional Light",
  71. "active":true,
  72. "isStatic":false,
  73. "layer":0,
  74. "position":[
  75. 0,
  76. 3,
  77. 0
  78. ],
  79. "rotation":[
  80. 0.1093816,
  81. 0.8754261,
  82. 0.4082179,
  83. -0.2345697
  84. ],
  85. "scale":[
  86. 1,
  87. 1,
  88. 1
  89. ],
  90. "intensity":1,
  91. "lightmapBakedType":0,
  92. "color":[
  93. 1,
  94. 0.9568627,
  95. 0.8392157
  96. ]
  97. },
  98. "components":[],
  99. "child":[]
  100. },
  101. {
  102. "type":"Sprite3D",
  103. "props":{
  104. "name":"Wall",
  105. "active":true,
  106. "isStatic":false,
  107. "layer":8,
  108. "position":[
  109. 2.48,
  110. 0,
  111. 0
  112. ],
  113. "rotation":[
  114. 0,
  115. 0.7071068,
  116. 0,
  117. -0.7071068
  118. ],
  119. "scale":[
  120. 1,
  121. 1,
  122. 1
  123. ]
  124. },
  125. "components":[],
  126. "child":[
  127. {
  128. "type":"MeshSprite3D",
  129. "props":{
  130. "name":"wall",
  131. "active":true,
  132. "isStatic":false,
  133. "layer":8,
  134. "position":[
  135. 0,
  136. 1,
  137. 0
  138. ],
  139. "rotation":[
  140. 0,
  141. 0,
  142. 0,
  143. -1
  144. ],
  145. "scale":[
  146. 1,
  147. 1,
  148. 1
  149. ],
  150. "meshPath":"Assets/LastRes/wall-Wall.lm",
  151. "enableRender":true,
  152. "materials":[
  153. {
  154. "path":"Assets/LastRes/Materials/Black.lmat"
  155. }
  156. ]
  157. },
  158. "components":[
  159. {
  160. "type":"PhysicsCollider",
  161. "restitution":0,
  162. "friction":0.5,
  163. "rollingFriction":0,
  164. "shapes":[
  165. {
  166. "type":"BoxColliderShape",
  167. "center":[
  168. 0,
  169. 0,
  170. 0
  171. ],
  172. "size":[
  173. 2,
  174. 2,
  175. 0.25
  176. ]
  177. }
  178. ],
  179. "isTrigger":false
  180. }
  181. ],
  182. "child":[]
  183. }
  184. ]
  185. },
  186. {
  187. "type":"Sprite3D",
  188. "props":{
  189. "name":"Wall (1)",
  190. "active":true,
  191. "isStatic":false,
  192. "layer":8,
  193. "position":[
  194. 0,
  195. 0,
  196. 0
  197. ],
  198. "rotation":[
  199. 0,
  200. 0.7071068,
  201. 0,
  202. -0.7071068
  203. ],
  204. "scale":[
  205. 1,
  206. 1,
  207. 1
  208. ]
  209. },
  210. "components":[],
  211. "child":[
  212. {
  213. "type":"MeshSprite3D",
  214. "props":{
  215. "name":"wall",
  216. "active":true,
  217. "isStatic":false,
  218. "layer":8,
  219. "position":[
  220. 0,
  221. 1,
  222. 0
  223. ],
  224. "rotation":[
  225. 0,
  226. 0,
  227. 0,
  228. -1
  229. ],
  230. "scale":[
  231. 1,
  232. 1,
  233. 1
  234. ],
  235. "meshPath":"Assets/LastRes/wall-Wall.lm",
  236. "enableRender":true,
  237. "materials":[
  238. {
  239. "path":"Assets/LastRes/Materials/Black.lmat"
  240. }
  241. ]
  242. },
  243. "components":[
  244. {
  245. "type":"PhysicsCollider",
  246. "restitution":0,
  247. "friction":0.5,
  248. "rollingFriction":0,
  249. "shapes":[
  250. {
  251. "type":"BoxColliderShape",
  252. "center":[
  253. 0,
  254. 0,
  255. 0
  256. ],
  257. "size":[
  258. 2,
  259. 2,
  260. 0.25
  261. ]
  262. }
  263. ],
  264. "isTrigger":false
  265. }
  266. ],
  267. "child":[]
  268. }
  269. ]
  270. },
  271. {
  272. "type":"Sprite3D",
  273. "props":{
  274. "name":"Wall (2)",
  275. "active":true,
  276. "isStatic":false,
  277. "layer":8,
  278. "position":[
  279. -2.48,
  280. 0,
  281. 0
  282. ],
  283. "rotation":[
  284. 0,
  285. 0.7071068,
  286. 0,
  287. -0.7071068
  288. ],
  289. "scale":[
  290. 1,
  291. 1,
  292. 1
  293. ]
  294. },
  295. "components":[],
  296. "child":[
  297. {
  298. "type":"MeshSprite3D",
  299. "props":{
  300. "name":"wall",
  301. "active":true,
  302. "isStatic":false,
  303. "layer":8,
  304. "position":[
  305. 0,
  306. 1,
  307. 0
  308. ],
  309. "rotation":[
  310. 0,
  311. 0,
  312. 0,
  313. -1
  314. ],
  315. "scale":[
  316. 1,
  317. 1,
  318. 1
  319. ],
  320. "meshPath":"Assets/LastRes/wall-Wall.lm",
  321. "enableRender":true,
  322. "materials":[
  323. {
  324. "path":"Assets/LastRes/Materials/Black.lmat"
  325. }
  326. ]
  327. },
  328. "components":[
  329. {
  330. "type":"PhysicsCollider",
  331. "restitution":0,
  332. "friction":0.5,
  333. "rollingFriction":0,
  334. "shapes":[
  335. {
  336. "type":"BoxColliderShape",
  337. "center":[
  338. 0,
  339. 0,
  340. 0
  341. ],
  342. "size":[
  343. 2,
  344. 2,
  345. 0.25
  346. ]
  347. }
  348. ],
  349. "isTrigger":false
  350. }
  351. ],
  352. "child":[]
  353. }
  354. ]
  355. },
  356. {
  357. "type":"MeshSprite3D",
  358. "props":{
  359. "name":"Plane",
  360. "active":true,
  361. "isStatic":false,
  362. "layer":0,
  363. "position":[
  364. 0,
  365. 0,
  366. 0
  367. ],
  368. "rotation":[
  369. 0,
  370. 0,
  371. 0,
  372. -1
  373. ],
  374. "scale":[
  375. 12.96822,
  376. 1,
  377. 13.81933
  378. ],
  379. "meshPath":"Library/unity default resources-Plane.lm",
  380. "enableRender":true,
  381. "materials":[
  382. {
  383. "type":"Laya.BlinnPhongMaterial",
  384. "path":"Assets/LastRes/Materials/Floor.lmat"
  385. }
  386. ]
  387. },
  388. "components":[
  389. {
  390. "type":"PhysicsCollider",
  391. "restitution":0,
  392. "friction":0.5,
  393. "rollingFriction":0,
  394. "shapes":[
  395. {
  396. "type":"MeshColliderShape",
  397. "mesh":"Library/unity default resources-Plane.lm"
  398. }
  399. ],
  400. "isTrigger":false
  401. }
  402. ],
  403. "child":[]
  404. },
  405. {
  406. "type":"Sprite3D",
  407. "props":{
  408. "name":"Players",
  409. "active":true,
  410. "isStatic":false,
  411. "layer":0,
  412. "position":[
  413. 0,
  414. 0,
  415. 0
  416. ],
  417. "rotation":[
  418. 0,
  419. 0,
  420. 0,
  421. -1
  422. ],
  423. "scale":[
  424. 1,
  425. 1,
  426. 1
  427. ]
  428. },
  429. "components":[],
  430. "child":[
  431. {
  432. "type":"Sprite3D",
  433. "props":{
  434. "name":"ShootRole1",
  435. "active":true,
  436. "isStatic":false,
  437. "layer":9,
  438. "position":[
  439. 0.25,
  440. 0,
  441. -3.74
  442. ],
  443. "rotation":[
  444. 0,
  445. -0.928421,
  446. 0,
  447. 0.3715298
  448. ],
  449. "scale":[
  450. 1,
  451. 1,
  452. 1
  453. ]
  454. },
  455. "components":[
  456. {
  457. "type":"Animator",
  458. "avatar":{
  459. "path":"Assets/LastRes/pasted__polySurface112-ShootRole1-pasted__polySurface112Avatar.lav",
  460. "linkSprites":{
  461. "GUN:pCube1":[
  462. "GUN:pCube1"
  463. ],
  464. "GUN:pCube2":[
  465. "GUN:pCube2"
  466. ],
  467. "bulletPos":[
  468. "bulletPos"
  469. ],
  470. "Shell":[
  471. "Shell"
  472. ]
  473. }
  474. },
  475. "layers":[],
  476. "cullingMode":0,
  477. "playOnWake":true
  478. }
  479. ],
  480. "child":[
  481. {
  482. "type":"SkinnedMeshSprite3D",
  483. "props":{
  484. "name":"pasted__polySurface11",
  485. "active":true,
  486. "isStatic":false,
  487. "layer":9,
  488. "position":[
  489. -4.836681,
  490. -0.8724918,
  491. -0.9277177
  492. ],
  493. "rotation":[
  494. 0,
  495. 0,
  496. 0,
  497. -1
  498. ],
  499. "scale":[
  500. 1,
  501. 1,
  502. 1
  503. ],
  504. "rootBone":"Floppy_Hips",
  505. "boundBox":{
  506. "min":[
  507. -0.8979983,
  508. -0.2801096,
  509. -0.4452674
  510. ],
  511. "max":[
  512. 0.9362673,
  513. 0.7032709,
  514. 0.40298
  515. ]
  516. },
  517. "boundSphere":{
  518. "center":[
  519. 0.01913446,
  520. 0.2115806,
  521. -0.0211437
  522. ],
  523. "radius":1.123732
  524. },
  525. "materials":[
  526. {
  527. "path":"Assets/LastRes/Materials/Gray.lmat"
  528. }
  529. ],
  530. "meshPath":"Assets/LastRes/pasted__polySurface11-pasted__polySurface11.lm"
  531. },
  532. "components":[
  533. {
  534. "type":"PhysicsCollider",
  535. "restitution":0,
  536. "friction":0.5,
  537. "rollingFriction":0,
  538. "shapes":[
  539. {
  540. "type":"CapsuleColliderShape",
  541. "center":[
  542. -4.85,
  543. 1.731843,
  544. 1.014204
  545. ],
  546. "radius":0.3496907,
  547. "height":1.718704
  548. }
  549. ],
  550. "isTrigger":false
  551. }
  552. ],
  553. "child":[]
  554. },
  555. {
  556. "type":"MeshSprite3D",
  557. "props":{
  558. "name":"GUN:pCube1",
  559. "active":true,
  560. "isStatic":false,
  561. "layer":9,
  562. "position":[
  563. 0.04978867,
  564. 1.143232,
  565. 0.7839093
  566. ],
  567. "rotation":[
  568. -0.0178552,
  569. 0.003569926,
  570. 0.005225851,
  571. -0.9998206
  572. ],
  573. "scale":[
  574. 2.688132,
  575. 2.688132,
  576. 2.688133
  577. ],
  578. "meshPath":"Assets/CrackRes/gun1-GUN_pCube1.lm",
  579. "enableRender":true,
  580. "materials":[
  581. {
  582. "type":"Laya.BlinnPhongMaterial",
  583. "path":"Assets/CrackRes/Materials/Black.lmat"
  584. }
  585. ]
  586. },
  587. "components":[],
  588. "child":[]
  589. },
  590. {
  591. "type":"MeshSprite3D",
  592. "props":{
  593. "name":"GUN:pCube2",
  594. "active":true,
  595. "isStatic":false,
  596. "layer":9,
  597. "position":[
  598. 0.0513083,
  599. 1.165311,
  600. 0.5989431
  601. ],
  602. "rotation":[
  603. -0.0178552,
  604. 0.003569926,
  605. 0.005225851,
  606. -0.9998206
  607. ],
  608. "scale":[
  609. 2.688132,
  610. 2.688132,
  611. 2.688133
  612. ],
  613. "meshPath":"Assets/CrackRes/gun1-GUN_pCube2.lm",
  614. "enableRender":true,
  615. "materials":[
  616. {
  617. "type":"Laya.BlinnPhongMaterial",
  618. "path":"Assets/CrackRes/Materials/Black.lmat"
  619. }
  620. ]
  621. },
  622. "components":[],
  623. "child":[]
  624. },
  625. {
  626. "type":"MeshSprite3D",
  627. "props":{
  628. "name":"bulletPos",
  629. "active":true,
  630. "isStatic":false,
  631. "layer":9,
  632. "position":[
  633. 0.05072615,
  634. 1.157302,
  635. 1.054268
  636. ],
  637. "rotation":[
  638. -0.0190767,
  639. 0.003576321,
  640. 0.005221486,
  641. -0.999798
  642. ],
  643. "scale":[
  644. 1,
  645. 1,
  646. 1
  647. ],
  648. "enableRender":false,
  649. "materials":[]
  650. },
  651. "components":[],
  652. "child":[]
  653. },
  654. {
  655. "type":"MeshSprite3D",
  656. "props":{
  657. "name":"Shell",
  658. "active":true,
  659. "isStatic":false,
  660. "layer":9,
  661. "position":[
  662. 0.05348416,
  663. 1.174534,
  664. 0.6837662
  665. ],
  666. "rotation":[
  667. -0.7204533,
  668. 0.006220964,
  669. 0.001163333,
  670. -0.6934746
  671. ],
  672. "scale":[
  673. 1.5,
  674. 1.5,
  675. 1.5
  676. ],
  677. "meshPath":"Assets/CrackRes/gun1-Shell.lm",
  678. "enableRender":true,
  679. "materials":[
  680. {
  681. "type":"Laya.BlinnPhongMaterial",
  682. "path":"Assets/CrackRes/Materials/Black.lmat"
  683. }
  684. ]
  685. },
  686. "components":[],
  687. "child":[]
  688. }
  689. ]
  690. }
  691. ]
  692. },
  693. {
  694. "type":"Sprite3D",
  695. "props":{
  696. "name":"Mosters",
  697. "active":true,
  698. "isStatic":false,
  699. "layer":0,
  700. "position":[
  701. 0,
  702. 0,
  703. 0
  704. ],
  705. "rotation":[
  706. 0,
  707. 0,
  708. 0,
  709. -1
  710. ],
  711. "scale":[
  712. 1,
  713. 1,
  714. 1
  715. ]
  716. },
  717. "components":[],
  718. "child":[
  719. {
  720. "type":"Sprite3D",
  721. "props":{
  722. "name":"ShootRole1",
  723. "active":true,
  724. "isStatic":false,
  725. "layer":10,
  726. "position":[
  727. -1.893,
  728. 0,
  729. -0.693
  730. ],
  731. "rotation":[
  732. 3.138513E-08,
  733. 0.8819213,
  734. 5.871746E-08,
  735. 0.4713967
  736. ],
  737. "scale":[
  738. 1,
  739. 1,
  740. 1
  741. ]
  742. },
  743. "components":[
  744. {
  745. "type":"Animator",
  746. "avatar":{
  747. "path":"Assets/LastRes/pasted__polySurface11-ShootRole1-pasted__polySurface11Avatar.lav",
  748. "linkSprites":{
  749. "GUN:pCube1":[
  750. "GUN:pCube1"
  751. ],
  752. "GUN:pCube2":[
  753. "GUN:pCube2"
  754. ],
  755. "bulletPos":[
  756. "bulletPos"
  757. ],
  758. "Shell":[
  759. "Shell"
  760. ]
  761. }
  762. },
  763. "layers":[],
  764. "cullingMode":0,
  765. "playOnWake":true
  766. }
  767. ],
  768. "child":[
  769. {
  770. "type":"SkinnedMeshSprite3D",
  771. "props":{
  772. "name":"pasted__polySurface11",
  773. "active":true,
  774. "isStatic":false,
  775. "layer":10,
  776. "position":[
  777. -4.836681,
  778. -0.8724918,
  779. -0.9277174
  780. ],
  781. "rotation":[
  782. 1.437059E-16,
  783. -4.107826E-15,
  784. -2.240533E-15,
  785. -1
  786. ],
  787. "scale":[
  788. 0.9999999,
  789. 1,
  790. 0.9999999
  791. ],
  792. "rootBone":"Floppy_Hips",
  793. "boundBox":{
  794. "min":[
  795. -0.8979983,
  796. -0.2801096,
  797. -0.4452674
  798. ],
  799. "max":[
  800. 0.9362673,
  801. 0.7032709,
  802. 0.40298
  803. ]
  804. },
  805. "boundSphere":{
  806. "center":[
  807. 0.01913446,
  808. 0.2115806,
  809. -0.0211437
  810. ],
  811. "radius":1.123732
  812. },
  813. "materials":[
  814. {
  815. "path":"Assets/LastRes/Materials/Red.lmat"
  816. }
  817. ],
  818. "meshPath":"Assets/LastRes/pasted__polySurface11-pasted__polySurface11.lm"
  819. },
  820. "components":[
  821. {
  822. "type":"PhysicsCollider",
  823. "restitution":0,
  824. "friction":0.5,
  825. "rollingFriction":0,
  826. "shapes":[
  827. {
  828. "type":"CapsuleColliderShape",
  829. "center":[
  830. -4.85,
  831. 1.731843,
  832. 1.014204
  833. ],
  834. "radius":0.3496907,
  835. "height":1.718704
  836. }
  837. ],
  838. "isTrigger":false
  839. }
  840. ],
  841. "child":[]
  842. },
  843. {
  844. "type":"MeshSprite3D",
  845. "props":{
  846. "name":"GUN:pCube1",
  847. "active":true,
  848. "isStatic":false,
  849. "layer":10,
  850. "position":[
  851. 0.04978863,
  852. 1.143231,
  853. 0.7839092
  854. ],
  855. "rotation":[
  856. -0.01785521,
  857. 0.003569953,
  858. 0.005225852,
  859. -0.9998206
  860. ],
  861. "scale":[
  862. 2.688132,
  863. 2.688132,
  864. 2.688132
  865. ],
  866. "meshPath":"Assets/CrackRes/gun1-GUN_pCube1.lm",
  867. "enableRender":true,
  868. "materials":[
  869. {
  870. "type":"Laya.BlinnPhongMaterial",
  871. "path":"Assets/CrackRes/Materials/Black.lmat"
  872. }
  873. ]
  874. },
  875. "components":[],
  876. "child":[]
  877. },
  878. {
  879. "type":"MeshSprite3D",
  880. "props":{
  881. "name":"GUN:pCube2",
  882. "active":true,
  883. "isStatic":false,
  884. "layer":10,
  885. "position":[
  886. 0.05130812,
  887. 1.165311,
  888. 0.5989432
  889. ],
  890. "rotation":[
  891. -0.01785521,
  892. 0.003569953,
  893. 0.005225852,
  894. -0.9998206
  895. ],
  896. "scale":[
  897. 2.688132,
  898. 2.688132,
  899. 2.688132
  900. ],
  901. "meshPath":"Assets/CrackRes/gun1-GUN_pCube2.lm",
  902. "enableRender":true,
  903. "materials":[
  904. {
  905. "type":"Laya.BlinnPhongMaterial",
  906. "path":"Assets/CrackRes/Materials/Black.lmat"
  907. }
  908. ]
  909. },
  910. "components":[],
  911. "child":[]
  912. },
  913. {
  914. "type":"MeshSprite3D",
  915. "props":{
  916. "name":"bulletPos",
  917. "active":true,
  918. "isStatic":false,
  919. "layer":10,
  920. "position":[
  921. 0.05072609,
  922. 1.157302,
  923. 1.054268
  924. ],
  925. "rotation":[
  926. -0.01907671,
  927. 0.003576289,
  928. 0.005221485,
  929. -0.999798
  930. ],
  931. "scale":[
  932. 0.9999999,
  933. 1,
  934. 0.9999999
  935. ],
  936. "enableRender":false,
  937. "materials":[]
  938. },
  939. "components":[],
  940. "child":[]
  941. },
  942. {
  943. "type":"MeshSprite3D",
  944. "props":{
  945. "name":"Shell",
  946. "active":true,
  947. "isStatic":false,
  948. "layer":10,
  949. "position":[
  950. 0.05348424,
  951. 1.174534,
  952. 0.6837661
  953. ],
  954. "rotation":[
  955. -0.7204533,
  956. 0.006220977,
  957. 0.001163317,
  958. -0.6934746
  959. ],
  960. "scale":[
  961. 1.5,
  962. 1.5,
  963. 1.5
  964. ],
  965. "meshPath":"Assets/CrackRes/gun1-Shell.lm",
  966. "enableRender":true,
  967. "materials":[
  968. {
  969. "type":"Laya.BlinnPhongMaterial",
  970. "path":"Assets/CrackRes/Materials/Black.lmat"
  971. }
  972. ]
  973. },
  974. "components":[],
  975. "child":[]
  976. }
  977. ]
  978. },
  979. {
  980. "type":"Sprite3D",
  981. "props":{
  982. "name":"ShootRole1",
  983. "active":true,
  984. "isStatic":false,
  985. "layer":10,
  986. "position":[
  987. -0.86,
  988. 0,
  989. 3.43
  990. ],
  991. "rotation":[
  992. 3.138513E-08,
  993. 0.8819213,
  994. 5.871746E-08,
  995. 0.4713967
  996. ],
  997. "scale":[
  998. 1,
  999. 1,
  1000. 1
  1001. ]
  1002. },
  1003. "components":[
  1004. {
  1005. "type":"Animator",
  1006. "avatar":{
  1007. "path":"Assets/LastRes/pasted__polySurface11-ShootRole1-pasted__polySurface11Avatar.lav",
  1008. "linkSprites":{
  1009. "GUN:pCube1":[
  1010. "GUN:pCube1"
  1011. ],
  1012. "GUN:pCube2":[
  1013. "GUN:pCube2"
  1014. ],
  1015. "bulletPos":[
  1016. "bulletPos"
  1017. ],
  1018. "Shell":[
  1019. "Shell"
  1020. ]
  1021. }
  1022. },
  1023. "layers":[],
  1024. "cullingMode":0,
  1025. "playOnWake":true
  1026. }
  1027. ],
  1028. "child":[
  1029. {
  1030. "type":"SkinnedMeshSprite3D",
  1031. "props":{
  1032. "name":"pasted__polySurface11",
  1033. "active":true,
  1034. "isStatic":false,
  1035. "layer":10,
  1036. "position":[
  1037. -4.836681,
  1038. -0.8724918,
  1039. -0.9277177
  1040. ],
  1041. "rotation":[
  1042. 1.437059E-16,
  1043. -4.107826E-15,
  1044. -2.240533E-15,
  1045. -1
  1046. ],
  1047. "scale":[
  1048. 0.9999999,
  1049. 1,
  1050. 0.9999999
  1051. ],
  1052. "rootBone":"Floppy_Hips",
  1053. "boundBox":{
  1054. "min":[
  1055. -0.8979983,
  1056. -0.2801096,
  1057. -0.4452674
  1058. ],
  1059. "max":[
  1060. 0.9362673,
  1061. 0.7032709,
  1062. 0.40298
  1063. ]
  1064. },
  1065. "boundSphere":{
  1066. "center":[
  1067. 0.01913446,
  1068. 0.2115806,
  1069. -0.0211437
  1070. ],
  1071. "radius":1.123732
  1072. },
  1073. "materials":[
  1074. {
  1075. "path":"Assets/LastRes/Materials/Red.lmat"
  1076. }
  1077. ],
  1078. "meshPath":"Assets/LastRes/pasted__polySurface11-pasted__polySurface11.lm"
  1079. },
  1080. "components":[
  1081. {
  1082. "type":"PhysicsCollider",
  1083. "restitution":0,
  1084. "friction":0.5,
  1085. "rollingFriction":0,
  1086. "shapes":[
  1087. {
  1088. "type":"CapsuleColliderShape",
  1089. "center":[
  1090. -4.85,
  1091. 1.731843,
  1092. 1.014204
  1093. ],
  1094. "radius":0.3496907,
  1095. "height":1.718704
  1096. }
  1097. ],
  1098. "isTrigger":false
  1099. }
  1100. ],
  1101. "child":[]
  1102. },
  1103. {
  1104. "type":"MeshSprite3D",
  1105. "props":{
  1106. "name":"GUN:pCube1",
  1107. "active":true,
  1108. "isStatic":false,
  1109. "layer":10,
  1110. "position":[
  1111. 0.04978868,
  1112. 1.143231,
  1113. 0.7839091
  1114. ],
  1115. "rotation":[
  1116. -0.01785521,
  1117. 0.003569953,
  1118. 0.005225852,
  1119. -0.9998206
  1120. ],
  1121. "scale":[
  1122. 2.688132,
  1123. 2.688132,
  1124. 2.688132
  1125. ],
  1126. "meshPath":"Assets/CrackRes/gun1-GUN_pCube1.lm",
  1127. "enableRender":true,
  1128. "materials":[
  1129. {
  1130. "type":"Laya.BlinnPhongMaterial",
  1131. "path":"Assets/CrackRes/Materials/Black.lmat"
  1132. }
  1133. ]
  1134. },
  1135. "components":[],
  1136. "child":[]
  1137. },
  1138. {
  1139. "type":"MeshSprite3D",
  1140. "props":{
  1141. "name":"GUN:pCube2",
  1142. "active":true,
  1143. "isStatic":false,
  1144. "layer":10,
  1145. "position":[
  1146. 0.05130807,
  1147. 1.165311,
  1148. 0.5989431
  1149. ],
  1150. "rotation":[
  1151. -0.01785521,
  1152. 0.003569953,
  1153. 0.005225852,
  1154. -0.9998206
  1155. ],
  1156. "scale":[
  1157. 2.688132,
  1158. 2.688132,
  1159. 2.688132
  1160. ],
  1161. "meshPath":"Assets/CrackRes/gun1-GUN_pCube2.lm",
  1162. "enableRender":true,
  1163. "materials":[
  1164. {
  1165. "type":"Laya.BlinnPhongMaterial",
  1166. "path":"Assets/CrackRes/Materials/Black.lmat"
  1167. }
  1168. ]
  1169. },
  1170. "components":[],
  1171. "child":[]
  1172. },
  1173. {
  1174. "type":"MeshSprite3D",
  1175. "props":{
  1176. "name":"bulletPos",
  1177. "active":true,
  1178. "isStatic":false,
  1179. "layer":10,
  1180. "position":[
  1181. 0.05072601,
  1182. 1.157302,
  1183. 1.054268
  1184. ],
  1185. "rotation":[
  1186. -0.01907671,
  1187. 0.003576289,
  1188. 0.005221485,
  1189. -0.999798
  1190. ],
  1191. "scale":[
  1192. 0.9999999,
  1193. 1,
  1194. 0.9999999
  1195. ],
  1196. "enableRender":false,
  1197. "materials":[]
  1198. },
  1199. "components":[],
  1200. "child":[]
  1201. },
  1202. {
  1203. "type":"MeshSprite3D",
  1204. "props":{
  1205. "name":"Shell",
  1206. "active":true,
  1207. "isStatic":false,
  1208. "layer":10,
  1209. "position":[
  1210. 0.05348416,
  1211. 1.174534,
  1212. 0.6837659
  1213. ],
  1214. "rotation":[
  1215. -0.7204533,
  1216. 0.006220977,
  1217. 0.001163317,
  1218. -0.6934746
  1219. ],
  1220. "scale":[
  1221. 1.5,
  1222. 1.5,
  1223. 1.5
  1224. ],
  1225. "meshPath":"Assets/CrackRes/gun1-Shell.lm",
  1226. "enableRender":true,
  1227. "materials":[
  1228. {
  1229. "type":"Laya.BlinnPhongMaterial",
  1230. "path":"Assets/CrackRes/Materials/Black.lmat"
  1231. }
  1232. ]
  1233. },
  1234. "components":[],
  1235. "child":[]
  1236. }
  1237. ]
  1238. },
  1239. {
  1240. "type":"Sprite3D",
  1241. "props":{
  1242. "name":"ShootRole1 (1)",
  1243. "active":true,
  1244. "isStatic":false,
  1245. "layer":10,
  1246. "position":[
  1247. 3.06,
  1248. 0,
  1249. -1.74
  1250. ],
  1251. "rotation":[
  1252. 3.138513E-08,
  1253. 0.8819213,
  1254. 5.871746E-08,
  1255. 0.4713967
  1256. ],
  1257. "scale":[
  1258. 1,
  1259. 1,
  1260. 1
  1261. ]
  1262. },
  1263. "components":[
  1264. {
  1265. "type":"Animator",
  1266. "avatar":{
  1267. "path":"Assets/LastRes/pasted__polySurface11-ShootRole1 (1)-pasted__polySurface11Avatar.lav",
  1268. "linkSprites":{
  1269. "GUN:pCube1":[
  1270. "GUN:pCube1"
  1271. ],
  1272. "GUN:pCube2":[
  1273. "GUN:pCube2"
  1274. ],
  1275. "bulletPos":[
  1276. "bulletPos"
  1277. ],
  1278. "Shell":[
  1279. "Shell"
  1280. ]
  1281. }
  1282. },
  1283. "layers":[],
  1284. "cullingMode":0,
  1285. "playOnWake":true
  1286. }
  1287. ],
  1288. "child":[
  1289. {
  1290. "type":"SkinnedMeshSprite3D",
  1291. "props":{
  1292. "name":"pasted__polySurface11",
  1293. "active":true,
  1294. "isStatic":false,
  1295. "layer":10,
  1296. "position":[
  1297. -4.836681,
  1298. -0.8724918,
  1299. -0.9277174
  1300. ],
  1301. "rotation":[
  1302. 1.437059E-16,
  1303. -4.107826E-15,
  1304. -2.240533E-15,
  1305. -1
  1306. ],
  1307. "scale":[
  1308. 0.9999999,
  1309. 1,
  1310. 0.9999999
  1311. ],
  1312. "rootBone":"Floppy_Hips",
  1313. "boundBox":{
  1314. "min":[
  1315. -0.8979983,
  1316. -0.2801096,
  1317. -0.4452674
  1318. ],
  1319. "max":[
  1320. 0.9362673,
  1321. 0.7032709,
  1322. 0.40298
  1323. ]
  1324. },
  1325. "boundSphere":{
  1326. "center":[
  1327. 0.01913446,
  1328. 0.2115806,
  1329. -0.0211437
  1330. ],
  1331. "radius":1.123732
  1332. },
  1333. "materials":[
  1334. {
  1335. "path":"Assets/LastRes/Materials/Gray.lmat"
  1336. }
  1337. ],
  1338. "meshPath":"Assets/LastRes/pasted__polySurface11-pasted__polySurface11.lm"
  1339. },
  1340. "components":[
  1341. {
  1342. "type":"PhysicsCollider",
  1343. "restitution":0,
  1344. "friction":0.5,
  1345. "rollingFriction":0,
  1346. "shapes":[
  1347. {
  1348. "type":"CapsuleColliderShape",
  1349. "center":[
  1350. -4.85,
  1351. 1.731843,
  1352. 1.014204
  1353. ],
  1354. "radius":0.3496907,
  1355. "height":1.718704
  1356. }
  1357. ],
  1358. "isTrigger":false
  1359. }
  1360. ],
  1361. "child":[]
  1362. },
  1363. {
  1364. "type":"MeshSprite3D",
  1365. "props":{
  1366. "name":"GUN:pCube1",
  1367. "active":true,
  1368. "isStatic":false,
  1369. "layer":10,
  1370. "position":[
  1371. 0.04978872,
  1372. 1.143231,
  1373. 0.7839093
  1374. ],
  1375. "rotation":[
  1376. -0.01785521,
  1377. 0.003569953,
  1378. 0.005225852,
  1379. -0.9998206
  1380. ],
  1381. "scale":[
  1382. 2.688132,
  1383. 2.688132,
  1384. 2.688132
  1385. ],
  1386. "meshPath":"Assets/CrackRes/gun1-GUN_pCube1.lm",
  1387. "enableRender":true,
  1388. "materials":[
  1389. {
  1390. "type":"Laya.BlinnPhongMaterial",
  1391. "path":"Assets/CrackRes/Materials/Black.lmat"
  1392. }
  1393. ]
  1394. },
  1395. "components":[],
  1396. "child":[]
  1397. },
  1398. {
  1399. "type":"MeshSprite3D",
  1400. "props":{
  1401. "name":"GUN:pCube2",
  1402. "active":true,
  1403. "isStatic":false,
  1404. "layer":10,
  1405. "position":[
  1406. 0.05130811,
  1407. 1.165311,
  1408. 0.5989431
  1409. ],
  1410. "rotation":[
  1411. -0.01785521,
  1412. 0.003569953,
  1413. 0.005225852,
  1414. -0.9998206
  1415. ],
  1416. "scale":[
  1417. 2.688132,
  1418. 2.688132,
  1419. 2.688132
  1420. ],
  1421. "meshPath":"Assets/CrackRes/gun1-GUN_pCube2.lm",
  1422. "enableRender":true,
  1423. "materials":[
  1424. {
  1425. "type":"Laya.BlinnPhongMaterial",
  1426. "path":"Assets/CrackRes/Materials/Black.lmat"
  1427. }
  1428. ]
  1429. },
  1430. "components":[],
  1431. "child":[]
  1432. },
  1433. {
  1434. "type":"MeshSprite3D",
  1435. "props":{
  1436. "name":"bulletPos",
  1437. "active":true,
  1438. "isStatic":false,
  1439. "layer":10,
  1440. "position":[
  1441. 0.05072602,
  1442. 1.157302,
  1443. 1.054268
  1444. ],
  1445. "rotation":[
  1446. -0.01907671,
  1447. 0.003576289,
  1448. 0.005221485,
  1449. -0.999798
  1450. ],
  1451. "scale":[
  1452. 0.9999999,
  1453. 1,
  1454. 0.9999999
  1455. ],
  1456. "enableRender":false,
  1457. "materials":[]
  1458. },
  1459. "components":[],
  1460. "child":[]
  1461. },
  1462. {
  1463. "type":"MeshSprite3D",
  1464. "props":{
  1465. "name":"Shell",
  1466. "active":true,
  1467. "isStatic":false,
  1468. "layer":10,
  1469. "position":[
  1470. 0.05348417,
  1471. 1.174534,
  1472. 0.6837661
  1473. ],
  1474. "rotation":[
  1475. -0.7204533,
  1476. 0.006220977,
  1477. 0.001163317,
  1478. -0.6934746
  1479. ],
  1480. "scale":[
  1481. 1.5,
  1482. 1.5,
  1483. 1.5
  1484. ],
  1485. "meshPath":"Assets/CrackRes/gun1-Shell.lm",
  1486. "enableRender":true,
  1487. "materials":[
  1488. {
  1489. "type":"Laya.BlinnPhongMaterial",
  1490. "path":"Assets/CrackRes/Materials/Black.lmat"
  1491. }
  1492. ]
  1493. },
  1494. "components":[],
  1495. "child":[]
  1496. }
  1497. ]
  1498. }
  1499. ]
  1500. },
  1501. {
  1502. "type":"Sprite3D",
  1503. "props":{
  1504. "name":"bulletR",
  1505. "active":true,
  1506. "isStatic":false,
  1507. "layer":0,
  1508. "position":[
  1509. -1.07,
  1510. 1.68,
  1511. -4.1
  1512. ],
  1513. "rotation":[
  1514. 0,
  1515. -0.7113516,
  1516. 0,
  1517. -0.7028363
  1518. ],
  1519. "scale":[
  1520. 1,
  1521. 1,
  1522. 1
  1523. ]
  1524. },
  1525. "components":[],
  1526. "child":[
  1527. {
  1528. "type":"MeshSprite3D",
  1529. "props":{
  1530. "name":"Cylinder",
  1531. "active":true,
  1532. "isStatic":false,
  1533. "layer":0,
  1534. "position":[
  1535. 0,
  1536. 0,
  1537. 0.5
  1538. ],
  1539. "rotation":[
  1540. -0.7071068,
  1541. 0,
  1542. 0,
  1543. -0.7071068
  1544. ],
  1545. "scale":[
  1546. 0.05,
  1547. 0.5,
  1548. 0.05
  1549. ],
  1550. "meshPath":"Library/unity default resources-Cylinder.lm",
  1551. "enableRender":true,
  1552. "materials":[
  1553. {
  1554. "type":"Laya.BlinnPhongMaterial",
  1555. "path":"Assets/RM.lmat"
  1556. }
  1557. ]
  1558. },
  1559. "components":[],
  1560. "child":[]
  1561. }
  1562. ]
  1563. },
  1564. {
  1565. "type":"Sprite3D",
  1566. "props":{
  1567. "name":"bulletG",
  1568. "active":true,
  1569. "isStatic":false,
  1570. "layer":0,
  1571. "position":[
  1572. -1.1,
  1573. 1.68,
  1574. -6.49
  1575. ],
  1576. "rotation":[
  1577. 0,
  1578. -0.7113516,
  1579. 0,
  1580. -0.7028363
  1581. ],
  1582. "scale":[
  1583. 1,
  1584. 1,
  1585. 1
  1586. ]
  1587. },
  1588. "components":[],
  1589. "child":[
  1590. {
  1591. "type":"MeshSprite3D",
  1592. "props":{
  1593. "name":"Cylinder",
  1594. "active":true,
  1595. "isStatic":false,
  1596. "layer":0,
  1597. "position":[
  1598. 0,
  1599. 0,
  1600. 0.5
  1601. ],
  1602. "rotation":[
  1603. -0.7071068,
  1604. 0,
  1605. 0,
  1606. -0.7071068
  1607. ],
  1608. "scale":[
  1609. 0.05,
  1610. 0.5,
  1611. 0.05
  1612. ],
  1613. "meshPath":"Library/unity default resources-Cylinder.lm",
  1614. "enableRender":true,
  1615. "materials":[
  1616. {
  1617. "type":"Laya.BlinnPhongMaterial",
  1618. "path":"Assets/GM.lmat"
  1619. }
  1620. ]
  1621. },
  1622. "components":[],
  1623. "child":[]
  1624. }
  1625. ]
  1626. }
  1627. ]
  1628. }
  1629. }