1
Fork 0
mirror of https://github.com/Steffo99/bleach-beach.git synced 2024-12-04 10:54:18 +00:00

Add Collision Box

Added the collision for the reef
This commit is contained in:
Lorenzo Balugani 2018-08-11 12:46:56 +02:00
parent 9698958723
commit 8c3d2fe05e
3 changed files with 286 additions and 9 deletions

8
Assets/Prefabs.meta generated
View file

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 23fb378d58165b9498fe94b751c88942
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

285
Assets/Scenes/Game.unity generated
View file

@ -150,6 +150,7 @@ GameObject:
m_Component:
- component: {fileID: 213945359}
- component: {fileID: 213945358}
- component: {fileID: 213945360}
m_Layer: 0
m_Name: Sfondoh
m_TagString: Untagged
@ -216,6 +217,290 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!60 &213945360
PolygonCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 213945357}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 0
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: 0}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5}
oldSize: {x: 100, y: 50}
newSize: {x: 50, y: 25}
adaptiveTilingThreshold: 0.5
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
m_Points:
m_Paths:
- - {x: -48.81143, y: 18.89045}
- {x: -48.128807, y: 18.024376}
- {x: -46.929222, y: 16.896992}
- {x: -46.057796, y: 15.833179}
- {x: -44.782715, y: 13.587366}
- {x: -44.696007, y: 12.428246}
- {x: -45.236454, y: 10.644703}
- {x: -45.421616, y: 9.236839}
- {x: -45.77097, y: 7.3964214}
- {x: -45.541946, y: 6.243166}
- {x: -44.942802, y: 5.117977}
- {x: -44.046387, y: 3.8360882}
- {x: -42.634663, y: 3.5221767}
- {x: -41.404766, y: 4.5078964}
- {x: -40.110313, y: 4.9684277}
- {x: -38.14724, y: 6.7668266}
- {x: -37.351433, y: 7.146921}
- {x: -36.46276, y: 7.3233585}
- {x: -35.070545, y: 7.4507523}
- {x: -33.74328, y: 6.9377747}
- {x: -33.01681, y: 6.6210213}
- {x: -32.81607, y: 5.292595}
- {x: -32.32875, y: 1.5406094}
- {x: -31.632132, y: -2.2688456}
- {x: -30.662594, y: -3.8755245}
- {x: -29.46244, y: -4.9326715}
- {x: -28.83845, y: -5.7650833}
- {x: -26.464624, y: -6.293828}
- {x: -25.182367, y: -5.2822533}
- {x: -25.251276, y: -4.7171087}
- {x: -24.507349, y: -1.7244759}
- {x: -24.465242, y: -0.054569244}
- {x: -23.886784, y: 1.3969135}
- {x: -23.47517, y: 3.33856}
- {x: -22.265436, y: 6.337076}
- {x: -22.01308, y: 7.1982365}
- {x: -20.987198, y: 10.219883}
- {x: -19.901932, y: 11.609097}
- {x: -17.762304, y: 13.134314}
- {x: -15.390124, y: 14.507019}
- {x: -12.77889, y: 15.501411}
- {x: -10.731106, y: 16.15569}
- {x: -7.3891945, y: 16.23735}
- {x: -4.742674, y: 15.736168}
- {x: -2.463441, y: 14.361885}
- {x: -2.3293328, y: 12.261772}
- {x: -2.700618, y: 11.431675}
- {x: -3.2685018, y: 10.561487}
- {x: -4.29156, y: 10.5554695}
- {x: -5.1160693, y: 9.792004}
- {x: -5.769767, y: 9.462358}
- {x: -7.7759924, y: 8.599617}
- {x: -9.676615, y: 7.0868187}
- {x: -10.009555, y: 6.224617}
- {x: -10.443002, y: 6.7910175}
- {x: -11.043734, y: 5.8256435}
- {x: -11.704569, y: 5.141794}
- {x: -13.693631, y: 4.5555763}
- {x: -14.801563, y: 5.7337933}
- {x: -15.920655, y: 4.5864525}
- {x: -16.67703, y: 4.488077}
- {x: -18.002916, y: 3.8020325}
- {x: -18.838549, y: 3.161209}
- {x: -18.954374, y: 2.8136768}
- {x: -19.025436, y: 2.4689865}
- {x: -19.155703, y: 0.9638138}
- {x: -19.348328, y: -3.0077553}
- {x: -19.234844, y: -5.038167}
- {x: -20.074062, y: -6.627798}
- {x: -20.706951, y: -8.358184}
- {x: -21.740477, y: -8.801479}
- {x: -22.691135, y: -9.410409}
- {x: -23.698545, y: -9.973543}
- {x: -24.442377, y: -11.446657}
- {x: -24.77821, y: -10.958547}
- {x: -25.187952, y: -10.6619835}
- {x: -25.890852, y: -10.68367}
- {x: -26.903843, y: -11.014261}
- {x: -27.359352, y: -12.241245}
- {x: -27.918055, y: -11.022611}
- {x: -26.421738, y: -9.492262}
- {x: -38.77207, y: -9.325209}
- {x: -44.471188, y: -10.042165}
- {x: -43.34965, y: -11.955595}
- {x: -43.09849, y: -12.502721}
- {x: -42.961834, y: -13.587278}
- {x: -36.552204, y: -11.241655}
- {x: -34.567196, y: -10.983303}
- {x: -32.232483, y: -11.13295}
- {x: -29.360819, y: -11.0857315}
- {x: -27.764189, y: -10.973511}
- {x: -30.14571, y: -10.703186}
- {x: -33.73894, y: -10.410429}
- {x: -38.493027, y: -11.972712}
- {x: -38.724155, y: -13.0947895}
- {x: -39.24961, y: -14.298316}
- {x: -38.891094, y: -14.810357}
- {x: -37.500942, y: -16.699219}
- {x: -36.453682, y: -18.606613}
- {x: -35.298656, y: -19.963993}
- {x: -33.658833, y: -21.050428}
- {x: -31.286268, y: -21.160585}
- {x: -29.457937, y: -20.024336}
- {x: -28.563175, y: -18.989439}
- {x: -27.714346, y: -18.07041}
- {x: -26.806255, y: -17.78454}
- {x: -25.09769, y: -17.58028}
- {x: -24.435709, y: -17.452456}
- {x: -23.785027, y: -17.936817}
- {x: -23.227262, y: -18.344303}
- {x: -21.721893, y: -18.970491}
- {x: -20.787539, y: -19.514532}
- {x: -20.62078, y: -19.311813}
- {x: -19.122124, y: -19.628605}
- {x: -17.24142, y: -19.650984}
- {x: -16.423122, y: -18.984928}
- {x: -15.058804, y: -18.329971}
- {x: -13.955729, y: -17.80883}
- {x: -12.575605, y: -15.2822075}
- {x: -12.467223, y: -14.300146}
- {x: -11.821309, y: -11.205778}
- {x: -10.854, y: -9.809008}
- {x: -10.029955, y: -8.75095}
- {x: -10.006178, y: -7.906665}
- {x: -9.884587, y: -7.133108}
- {x: -9.964574, y: -5.9914026}
- {x: -10.371659, y: -5.2642517}
- {x: -10.412036, y: -4.56791}
- {x: -10.196345, y: -3.7527637}
- {x: -9.938505, y: -3.4339771}
- {x: -9.144678, y: -2.7035017}
- {x: -8.299951, y: -1.4402161}
- {x: -7.569507, y: -0.6375694}
- {x: -6.7101912, y: -0.10147858}
- {x: -6.0836363, y: 0.2769127}
- {x: -5.422418, y: 0.17430115}
- {x: -4.465155, y: 0.642231}
- {x: -3.3428082, y: 0.753088}
- {x: -2.1155567, y: 0.8499012}
- {x: -1.5255853, y: 0.48329544}
- {x: -1.0526078, y: 0.49131966}
- {x: 0.7817143, y: 0.20589828}
- {x: 1.9721923, y: -1.8111916}
- {x: 1.7917206, y: -3.7875938}
- {x: 1.0608273, y: -4.101184}
- {x: -0.40800834, y: -4.966297}
- {x: -0.69247186, y: -5.3476076}
- {x: -0.7903444, y: -7.1845636}
- {x: -0.49973983, y: -8.089116}
- {x: -0.21944249, y: -9.613199}
- {x: 0.078675926, y: -10.037483}
- {x: 1.0934072, y: -12.08882}
- {x: 2.0690298, y: -13.690851}
- {x: 3.4569752, y: -15.4803505}
- {x: 3.9995484, y: -16.27777}
- {x: 5.312102, y: -17.44186}
- {x: 6.873818, y: -18.710976}
- {x: 8.379066, y: -19.781786}
- {x: 10.287185, y: -20.27274}
- {x: 12.406181, y: -20.539623}
- {x: 14.680631, y: -20.563171}
- {x: 14.96922, y: -20.90249}
- {x: 15.432962, y: -20.608932}
- {x: 15.640206, y: -20.242004}
- {x: 16.670265, y: -19.42723}
- {x: 17.765356, y: -18.79104}
- {x: 18.792185, y: -18.1893}
- {x: 19.48721, y: -17.568687}
- {x: 19.601862, y: -17.033014}
- {x: 19.844435, y: -16.03133}
- {x: 20.06222, y: -13.808691}
- {x: 20.440392, y: -11.884905}
- {x: 19.241009, y: -10.533477}
- {x: 18.20619, y: -9.4095955}
- {x: 18.191578, y: -8.711164}
- {x: 18.127596, y: -7.2894793}
- {x: 18.45792, y: -6.9186964}
- {x: 18.884995, y: -6.2703257}
- {x: 19.37134, y: -5.2653303}
- {x: 19.757511, y: -5.0973377}
- {x: 20.290297, y: -4.691229}
- {x: 21.366755, y: -4.1011515}
- {x: 21.615938, y: -3.6226501}
- {x: 21.653728, y: -2.532032}
- {x: 21.509298, y: -1.9493523}
- {x: 20.774384, y: -1.0962925}
- {x: 20.726784, y: -0.6307812}
- {x: 20.228401, y: -0.12041664}
- {x: 19.068018, y: 1.1641483}
- {x: 18.63733, y: 2.2164154}
- {x: 18.417852, y: 2.6667042}
- {x: 19.378002, y: 2.6364346}
- {x: 20.432106, y: 2.5844269}
- {x: 20.886274, y: 2.2722416}
- {x: 22.096258, y: 1.310957}
- {x: 23.184124, y: 0.06361771}
- {x: 24.001518, y: -0.9052944}
- {x: 23.99846, y: -1.274683}
- {x: 24.992876, y: -2.3524256}
- {x: 26.857416, y: -3.9409704}
- {x: 28.052458, y: -5.002348}
- {x: 29.678886, y: -5.395194}
- {x: 31.696083, y: -5.449806}
- {x: 33.18394, y: -5.715393}
- {x: 34.212902, y: -5.8618307}
- {x: 34.251007, y: -6.2932034}
- {x: 34.79765, y: -6.9043074}
- {x: 35.60149, y: -7.5620003}
- {x: 36.16357, y: -8.222145}
- {x: 37.51156, y: -9.3718605}
- {x: 39.853443, y: -10.144222}
- {x: 41.102097, y: -10.473732}
- {x: 43.18012, y: -12.070187}
- {x: 43.788292, y: -11.595642}
- {x: 45.240086, y: -10.435025}
- {x: 46.04564, y: -8.781224}
- {x: 47.901176, y: -5.5976963}
- {x: 45.82534, y: -5.273409}
- {x: 45.120888, y: -2.5523806}
- {x: 43.918537, y: -2.0483809}
- {x: 42.35808, y: -3.4371576}
- {x: 41.53816, y: -2.363452}
- {x: 40.235504, y: -1.2631359}
- {x: 40.158524, y: -0.51156235}
- {x: 38.760025, y: -0.09142685}
- {x: 38.26836, y: -0.8695984}
- {x: 37.390144, y: -1.616394}
- {x: 36.695133, y: -2.5873985}
- {x: 36.94927, y: -1.1725998}
- {x: 37.13837, y: -0.74001694}
- {x: 36.459156, y: 0.19975281}
- {x: 36.03582, y: 1.5426102}
- {x: 37.470722, y: 2.0381641}
- {x: 38.404068, y: 2.3240337}
- {x: 38.365215, y: 3.6474895}
- {x: 38.27266, y: 5.031206}
- {x: 38.17083, y: 6.1879864}
- {x: 38.044556, y: 7.4687634}
- {x: 38.744648, y: 7.8794804}
- {x: 39.79735, y: 8.553179}
- {x: 40.304535, y: 9.715754}
- {x: 40.68758, y: 9.716726}
- {x: 42.040455, y: 9.989908}
- {x: 42.827557, y: 10.48464}
- {x: 43.348347, y: 10.962034}
- {x: 44.014755, y: 10.057224}
- {x: 44.592175, y: 9.697027}
- {x: 45.096226, y: 8.678005}
- {x: 45.20957, y: 7.932026}
- {x: 45.27523, y: 6.664341}
- {x: 46.00882, y: 4.505453}
- {x: 46.363297, y: 3.3905754}
- {x: 46.82357, y: 3.0117798}
- {x: 48.709915, y: 1.6964321}
- {x: 50.16885, y: 0.83608246}
- {x: 50.13909, y: 21.834969}
- {x: 50.683697, y: -24.33369}
- {x: -49.972443, y: -23.321346}
- {x: -50.039696, y: 22.184658}
- {x: -49.91083, y: 20.208763}
--- !u!1 &671812156
GameObject:
m_ObjectHideFlags: 0

2
Assets/Sprites.meta generated
View file

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: e32dd2b09a2bce641aad02a515a21d71
guid: 927bc11d535c27b4fb69cca448c70fcf
folderAsset: yes
DefaultImporter:
externalObjects: {}