Browse Source

Merge remote-tracking branch 'origin/master' into Josh_Dev_branch

# Conflicts:
#	Assets/Scenes/Menus/Lobby.unity
#	Assets/Scripts/Managers/GameManager.cs
Josh_Dev_branch
JoshuaReason 5 years ago
parent
commit
2406b82be7
121 changed files with 45721 additions and 215 deletions
  1. +2
    -2
      Assets/Data/GameModes/New Racetrack Game Mode.asset
  2. +3
    -0
      Assets/Data/Logic Blocks/Diagonal Left.asset
  3. +1
    -1
      Assets/Data/Logic Blocks/Diagonal Left.asset.meta
  4. +3
    -0
      Assets/Data/Logic Blocks/Diagonal Right.asset
  5. +1
    -1
      Assets/Data/Logic Blocks/Diagonal Right.asset.meta
  6. +0
    -3
      Assets/Data/Logic Blocks/Diagonal_Left.asset
  7. +0
    -3
      Assets/Data/Logic Blocks/Diagonal_Right.asset
  8. +0
    -3
      Assets/Data/Logic Blocks/Horse_Left.asset
  9. +0
    -3
      Assets/Data/Logic Blocks/Horse_Right.asset
  10. +3
    -0
      Assets/Data/Logic Blocks/Rotate Half Left.asset
  11. +1
    -1
      Assets/Data/Logic Blocks/Rotate Half Left.asset.meta
  12. +3
    -0
      Assets/Data/Logic Blocks/Rotate Half Right.asset
  13. +1
    -1
      Assets/Data/Logic Blocks/Rotate Half Right.asset.meta
  14. +8
    -0
      Assets/Data/Map Generation.meta
  15. +3
    -0
      Assets/Data/Map Generation/Map Manager.asset
  16. +8
    -0
      Assets/Data/Map Generation/Map Manager.asset.meta
  17. +1
    -1
      Assets/Data/Networking/Server/Realtime/Racetrack GameMode.asset
  18. +248
    -0
      Assets/Prefabs/Blocks/Cube_GroundWGrass.prefab
  19. +7
    -0
      Assets/Prefabs/Blocks/Cube_GroundWGrass.prefab.meta
  20. +340
    -0
      Assets/Prefabs/Blocks/Cube_GroundWall.prefab
  21. +7
    -0
      Assets/Prefabs/Blocks/Cube_GroundWall.prefab.meta
  22. +426
    -0
      Assets/Prefabs/Blocks/Cube_Water.prefab
  23. +7
    -0
      Assets/Prefabs/Blocks/Cube_Water.prefab.meta
  24. +8
    -0
      Assets/Prefabs/Map Sections.meta
  25. +913
    -0
      Assets/Prefabs/Map Sections/Map Section Template.prefab
  26. +7
    -0
      Assets/Prefabs/Map Sections/Map Section Template.prefab.meta
  27. +8666
    -0
      Assets/Prefabs/Map Sections/Start 4-player.prefab
  28. +7
    -0
      Assets/Prefabs/Map Sections/Start 4-player.prefab.meta
  29. +9558
    -0
      Assets/Prefabs/Map Sections/Start 8-player.prefab
  30. +7
    -0
      Assets/Prefabs/Map Sections/Start 8-player.prefab.meta
  31. +8433
    -0
      Assets/Prefabs/Map Sections/Test 1.prefab
  32. +7
    -0
      Assets/Prefabs/Map Sections/Test 1.prefab.meta
  33. +8700
    -0
      Assets/Prefabs/Map Sections/Test 2.prefab
  34. +7
    -0
      Assets/Prefabs/Map Sections/Test 2.prefab.meta
  35. +4301
    -0
      Assets/Prefabs/Map Sections/Test 3.prefab
  36. +7
    -0
      Assets/Prefabs/Map Sections/Test 3.prefab.meta
  37. +345
    -0
      Assets/Prefabs/Traps/Conveyor Belt with Cube.prefab
  38. +7
    -0
      Assets/Prefabs/Traps/Conveyor Belt with Cube.prefab.meta
  39. +1
    -0
      Assets/Prefabs/Traps/Conveyor Belt.prefab
  40. +495
    -0
      Assets/Prefabs/Traps/ShootingCannon + Block.prefab
  41. +7
    -0
      Assets/Prefabs/Traps/ShootingCannon + Block.prefab.meta
  42. +326
    -71
      Assets/Prefabs/UI/Player Canvas.prefab
  43. +2
    -2
      Assets/Scenes/Client Scenes/ClientScene.unity
  44. +2
    -2
      Assets/Scenes/Client Scenes/LoginScreen.unity
  45. +3
    -0
      Assets/Scenes/Levels/RaceTrack Beta.unity
  46. +7
    -0
      Assets/Scenes/Levels/RaceTrack Beta.unity.meta
  47. +2
    -2
      Assets/Scenes/Menus/Lobby.unity
  48. +2
    -2
      Assets/Scenes/Menus/MainMenu Server.unity
  49. +21
    -10
      Assets/Scripts/Character.cs
  50. +1
    -5
      Assets/Scripts/GameMode/ColorGameMode/ColorGameMode.cs
  51. +20
    -7
      Assets/Scripts/GameMode/ColorGameMode/RacetrackGameMode.cs
  52. +2
    -2
      Assets/Scripts/GameMode/ColorGameMode/ScoreDisplay.cs
  53. +1
    -1
      Assets/Scripts/GameMode/GameMode.cs
  54. +61
    -0
      Assets/Scripts/Logic/Blocks/RotateHalf.cs
  55. +11
    -0
      Assets/Scripts/Logic/Blocks/RotateHalf.cs.meta
  56. +51
    -19
      Assets/Scripts/Managers/GameManager.cs
  57. +8
    -0
      Assets/Scripts/Map Generation.meta
  58. +279
    -0
      Assets/Scripts/Map Generation/MapManager.cs
  59. +11
    -0
      Assets/Scripts/Map Generation/MapManager.cs.meta
  60. +81
    -0
      Assets/Scripts/Map Generation/MapSection.cs
  61. +11
    -0
      Assets/Scripts/Map Generation/MapSection.cs.meta
  62. +15
    -6
      Assets/Scripts/Networking/Client/ClientObject.cs
  63. +2
    -5
      Assets/Scripts/Networking/Core/Protocols/LogicProtocols.cs
  64. +9
    -9
      Assets/Scripts/Networking/Server/ClientList.cs
  65. +2
    -2
      Assets/Scripts/PortalSetup.cs
  66. +38
    -7
      Assets/Scripts/UI/Client/LoginUIManager.cs
  67. +2
    -2
      Assets/Scripts/UI/LeadPlayerUI.cs
  68. +2
    -8
      Assets/Scripts/UI/NetworkedUIManager.cs
  69. +2
    -1
      Assets/Scripts/animalSelection.cs
  70. +4
    -4
      Assets/Scripts/blockSpawn.cs
  71. +0
    -27
      Assets/Scripts/portalTesting.cs
  72. +8
    -0
      Assets/Textures/LogicBlock Icon.meta
  73. +3
    -0
      Assets/Textures/LogicBlock Icon/Diagonal Left.png
  74. +88
    -0
      Assets/Textures/LogicBlock Icon/Diagonal Left.png.meta
  75. +3
    -0
      Assets/Textures/LogicBlock Icon/Diagonal Right.png
  76. +88
    -0
      Assets/Textures/LogicBlock Icon/Diagonal Right.png.meta
  77. +3
    -0
      Assets/Textures/LogicBlock Icon/Jump.png
  78. +88
    -0
      Assets/Textures/LogicBlock Icon/Jump.png.meta
  79. +3
    -0
      Assets/Textures/LogicBlock Icon/Move x2.png
  80. +88
    -0
      Assets/Textures/LogicBlock Icon/Move x2.png.meta
  81. +3
    -0
      Assets/Textures/LogicBlock Icon/Move.png
  82. +88
    -0
      Assets/Textures/LogicBlock Icon/Move.png.meta
  83. +3
    -0
      Assets/Textures/LogicBlock Icon/Rotate Left.png
  84. +88
    -0
      Assets/Textures/LogicBlock Icon/Rotate Left.png.meta
  85. +3
    -0
      Assets/Textures/LogicBlock Icon/Rotate Right.png
  86. +88
    -0
      Assets/Textures/LogicBlock Icon/Rotate Right.png.meta
  87. +3
    -0
      Assets/Textures/LogicBlock Icon/U-Turn.png
  88. +88
    -0
      Assets/Textures/LogicBlock Icon/U-Turn.png.meta
  89. +3
    -0
      Assets/Textures/LogicBlock Icon/_DiagonalLeft.jpg
  90. +88
    -0
      Assets/Textures/LogicBlock Icon/_DiagonalLeft.jpg.meta
  91. +3
    -0
      Assets/Textures/LogicBlock Icon/_DiagonalLeft.png
  92. +88
    -0
      Assets/Textures/LogicBlock Icon/_DiagonalLeft.png.meta
  93. +3
    -0
      Assets/Textures/LogicBlock Icon/_DiagonalRight.jpg
  94. +88
    -0
      Assets/Textures/LogicBlock Icon/_DiagonalRight.jpg.meta
  95. +3
    -0
      Assets/Textures/LogicBlock Icon/_DiagonalRight.png
  96. +88
    -0
      Assets/Textures/LogicBlock Icon/_DiagonalRight.png.meta
  97. +3
    -0
      Assets/Textures/LogicBlock Icon/_Jump.jpg
  98. +88
    -0
      Assets/Textures/LogicBlock Icon/_Jump.jpg.meta
  99. +3
    -0
      Assets/Textures/LogicBlock Icon/_Jump.png
  100. +88
    -0
      Assets/Textures/LogicBlock Icon/_Jump.png.meta

+ 2
- 2
Assets/Data/GameModes/New Racetrack Game Mode.asset View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a765ffe299a21b208cc8d902f8805e773ad3d3dec4a378b9e95089f0d3e4a7f
size 538
oid sha256:4117b175989a656bcab19a092766b204dfe62d93ef109b952ab744e5f60375ca
size 705

+ 3
- 0
Assets/Data/Logic Blocks/Diagonal Left.asset View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ec63e7f90a7facdb5a834a6de80a1d3a24eefad4e66edf48da4beeea8997828
size 797

Assets/Data/Logic Blocks/Horse_Left.asset.meta → Assets/Data/Logic Blocks/Diagonal Left.asset.meta View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 478ec601e0a1c854984276a192a52666
guid: 752565cc5a95020498b9ed396343f3c0
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

+ 3
- 0
Assets/Data/Logic Blocks/Diagonal Right.asset View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6148522c50f0cd5dc7d6ca8ea8a6b0fd461d82fa7ca2b018633eebd8e5fd6577
size 798

Assets/Data/Logic Blocks/Diagonal_Left.asset.meta → Assets/Data/Logic Blocks/Diagonal Right.asset.meta View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: ba4f7785390953441913d0e6f419d9b7
guid: efab8a199b362cb42b3e0bce70dd05f4
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

+ 0
- 3
Assets/Data/Logic Blocks/Diagonal_Left.asset View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5671a1a7b9e5f4f0a3fee67ebf92615af4279d9edfce79d28823f279d009e22a
size 872

+ 0
- 3
Assets/Data/Logic Blocks/Diagonal_Right.asset View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33d9e2ccd3a3a69112bfc9e679471d717af1102f0cb6223791a9a2624557d982
size 873

+ 0
- 3
Assets/Data/Logic Blocks/Horse_Left.asset View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c689e7823398372bb409980d735f9ce532db12ffa527ff0b996e907cc0390745
size 868

+ 0
- 3
Assets/Data/Logic Blocks/Horse_Right.asset View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd3e7a21a3b9ea59742941d1f65dec34c56480c36ac7742d03ce15768b696311
size 869

+ 3
- 0
Assets/Data/Logic Blocks/Rotate Half Left.asset View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:717bae5b5493eeae1844f77f15938d1f0f2d88f54d609e5fb196e638ba0f14a1
size 554

Assets/Data/Logic Blocks/Horse_Right.asset.meta → Assets/Data/Logic Blocks/Rotate Half Left.asset.meta View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 86adbb7231bac86469daf8668e55025f
guid: 6658a5299cc9a044a913d219abbe4a99
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

+ 3
- 0
Assets/Data/Logic Blocks/Rotate Half Right.asset View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:990248dac7144fbca0b3bb00119abd7a9c46e9f59e5fbdfb6d72317fc611e668
size 555

Assets/Data/Logic Blocks/Diagonal_Right.asset.meta → Assets/Data/Logic Blocks/Rotate Half Right.asset.meta View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 0086f005a63e8404aaee25e4ae4734d7
guid: f6be455a4dfaafd4fb4a0e74a9d19b0b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

+ 8
- 0
Assets/Data/Map Generation.meta View File

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

+ 3
- 0
Assets/Data/Map Generation/Map Manager.asset View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6b048d7cd1d636b7d5c6eb9ab640eeec39d921f03df1ea868af25f2c72ae5f9
size 901

+ 8
- 0
Assets/Data/Map Generation/Map Manager.asset.meta View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: f3a2b30011e8d0941b970de817eead58
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

+ 1
- 1
Assets/Data/Networking/Server/Realtime/Racetrack GameMode.asset View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0fda289270a49936ec0e8b8c706af5bc5925fb98f79137721d778eb7d22bc322
oid sha256:5f73c2a07d612597ea3e0b6f6185f8363e0541d70dfc9dfd882afbc7a837b376
size 484

+ 248
- 0
Assets/Prefabs/Blocks/Cube_GroundWGrass.prefab View File

@ -0,0 +1,248 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &298388790206689804
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 427276821}
- component: {fileID: 7463042348434612889}
- component: {fileID: 4511704112427984177}
- component: {fileID: 1116424950064336207}
- component: {fileID: 7954546918817141591}
m_Layer: 0
m_Name: Cube_GroundWGrass
m_TagString: Coloured
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &427276821
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 298388790206689804}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: -0.5, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4721099953091283}
- {fileID: 4721100105921117}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &7463042348434612889
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 298388790206689804}
m_Mesh: {fileID: 4300000, guid: d73f25ac0bcef5b469863e30ce33634b, type: 3}
--- !u!23 &4511704112427984177
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 298388790206689804}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: a12203d8d2df33d4f814e1a381ba565f, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!65 &1116424950064336207
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 298388790206689804}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 1.0000005, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &7954546918817141591
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 298388790206689804}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1a69d64be9f9e8543b4278d7f139f6f1, type: 3}
m_Name:
m_EditorClassIdentifier:
VisualOffset: {x: 0, y: 0.5, z: 0}
is_Walkable: 1
isWater: 0
isPit: 0
isSpawnable: 0
SpawnDirection: 2
--- !u!1001 &985787167
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 427276821}
m_Modifications:
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_Name
value: Cube_GroundU
objectReference: {fileID: 0}
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalPosition.y
value: -1
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
--- !u!4 &4721099953091283 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07,
type: 3}
m_PrefabInstance: {fileID: 985787167}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1101392785
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 427276821}
m_Modifications:
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_Name
value: Cube_GroundL
objectReference: {fileID: 0}
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalPosition.y
value: -2
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
--- !u!4 &4721100105921117 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07,
type: 3}
m_PrefabInstance: {fileID: 1101392785}
m_PrefabAsset: {fileID: 0}

+ 7
- 0
Assets/Prefabs/Blocks/Cube_GroundWGrass.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: bb9ffc1c11072174694465b720cdb319
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 340
- 0
Assets/Prefabs/Blocks/Cube_GroundWall.prefab View File

@ -0,0 +1,340 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &4380075252948432824
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3615111875144653457}
- component: {fileID: 5468256449416294908}
- component: {fileID: 4411098820538280616}
- component: {fileID: 5320983720737496023}
- component: {fileID: 1547357862911686826}
m_Layer: 0
m_Name: Cube_GroundWall
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &3615111875144653457
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4380075252948432824}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4721100610124675}
- {fileID: 4721099741402202}
- {fileID: 4721099343502762}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &5468256449416294908
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4380075252948432824}
m_Mesh: {fileID: 4300000, guid: d73f25ac0bcef5b469863e30ce33634b, type: 3}
--- !u!23 &4411098820538280616
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4380075252948432824}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: a0152f8bfbc0ba44082f0499c6b65464, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!65 &5320983720737496023
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4380075252948432824}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 1.0000005, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &1547357862911686826
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4380075252948432824}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1a69d64be9f9e8543b4278d7f139f6f1, type: 3}
m_Name:
m_EditorClassIdentifier:
VisualOffset: {x: 0, y: 0.5, z: 0}
is_Walkable: 0
isWater: 0
isPit: 0
isSpawnable: 0
SpawnDirection: 2
--- !u!1001 &506938470
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 3615111875144653457}
m_Modifications:
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalPosition.y
value: -3
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalPosition.y
value: -1
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4380075252948432824}
propertyPath: m_Name
value: Cube_GroundWall1
objectReference: {fileID: 0}
- target: {fileID: 4380075252948432824}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
--- !u!4 &4721099343502762 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07,
type: 3}
m_PrefabInstance: {fileID: 506938470}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &913296790
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 3615111875144653457}
m_Modifications:
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalPosition.y
value: -2
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalPosition.y
value: -3
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4380075252948432824}
propertyPath: m_Name
value: Cube_GroundWall3
objectReference: {fileID: 0}
- target: {fileID: 4380075252948432824}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
--- !u!4 &4721099741402202 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07,
type: 3}
m_PrefabInstance: {fileID: 913296790}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1672897103
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 3615111875144653457}
m_Modifications:
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalPosition.y
value: -1
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalPosition.y
value: -2
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4380075252948432824}
propertyPath: m_Name
value: Cube_GroundWall2
objectReference: {fileID: 0}
- target: {fileID: 4380075252948432824}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
--- !u!4 &4721100610124675 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07,
type: 3}
m_PrefabInstance: {fileID: 1672897103}
m_PrefabAsset: {fileID: 0}

+ 7
- 0
Assets/Prefabs/Blocks/Cube_GroundWall.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 125772d94eff8224a8f3a327ec632883
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 426
- 0
Assets/Prefabs/Blocks/Cube_Water.prefab View File

@ -0,0 +1,426 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &530235143574139110
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1828716198829146157}
m_Layer: 0
m_Name: LilyPad
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1828716198829146157
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 530235143574139110}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: -1, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 8106369753450024413}
- {fileID: 7845928462204854316}
- {fileID: 24989262969370864}
m_Father: {fileID: 47964057}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &671413771732590573
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 24989262969370864}
- component: {fileID: 3248327937091408180}
- component: {fileID: 2480900863621540341}
m_Layer: 0
m_Name: Flower4_2 (2)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &24989262969370864
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 671413771732590573}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 1.005, z: 0}
m_LocalScale: {x: 0.6, y: 0.1, z: 0.6}
m_Children: []
m_Father: {fileID: 1828716198829146157}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &3248327937091408180
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 671413771732590573}
m_Mesh: {fileID: 4300000, guid: 4a45d11e88f706d4ebb66d42897779e0, type: 3}
--- !u!23 &2480900863621540341
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 671413771732590573}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: cc200860bee3eb94dad02af3bcf473b0, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!1 &1999421548732318256
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 47964057}
- component: {fileID: 177033255137993395}
- component: {fileID: 6650162365135615188}
- component: {fileID: 5031374599848591737}
m_Layer: 0
m_Name: Cube_Water
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &47964057
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1999421548732318256}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -12, y: -0.5, z: 1.9999998}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1828716198829146157}
- {fileID: 3495549618656143551}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &177033255137993395
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1999421548732318256}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 13e596b7661bb0b43b4ef2f0432f5966, type: 3}
m_Name:
m_EditorClassIdentifier:
clientData: {fileID: 11400000, guid: ded0b21c3ef1e7049a1128c12e9401fe, type: 2}
Names: []
lilypad: {fileID: 530235143574139110}
triggeranimate: 0
triggeranimate1: 0
--- !u!65 &6650162365135615188
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1999421548732318256}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &5031374599848591737
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1999421548732318256}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1a69d64be9f9e8543b4278d7f139f6f1, type: 3}
m_Name:
m_EditorClassIdentifier:
VisualOffset: {x: 0, y: 0, z: 0}
is_Walkable: 1
isWater: 1
isPit: 0
isSpawnable: 0
SpawnDirection: 2
--- !u!1 &7281521922483143231
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3495549618656143551}
- component: {fileID: 3318533407707509065}
- component: {fileID: 7563148306655853409}
m_Layer: 0
m_Name: Cube_Water
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &3495549618656143551
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7281521922483143231}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 47964057}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &3318533407707509065
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7281521922483143231}
m_Mesh: {fileID: 4300000, guid: d73f25ac0bcef5b469863e30ce33634b, type: 3}
--- !u!23 &7563148306655853409
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7281521922483143231}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 5e101a1af208737469b8482764baf697, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!1 &7858000249164259621
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7845928462204854316}
- component: {fileID: 7970735141334953310}
- component: {fileID: 2832984628613383620}
m_Layer: 0
m_Name: Flower4_2 (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7845928462204854316
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7858000249164259621}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0.93, z: 0}
m_LocalScale: {x: 1.1, y: 1.1, z: 1.1}
m_Children: []
m_Father: {fileID: 1828716198829146157}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &7970735141334953310
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7858000249164259621}
m_Mesh: {fileID: 4300000, guid: 4a45d11e88f706d4ebb66d42897779e0, type: 3}
--- !u!23 &2832984628613383620
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7858000249164259621}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: cc200860bee3eb94dad02af3bcf473b0, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!1 &8864229519112577870
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8106369753450024413}
- component: {fileID: 4543528182562699443}
- component: {fileID: 4085195132855863162}
m_Layer: 0
m_Name: Flower4_2
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8106369753450024413
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8864229519112577870}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0.931, z: 0}
m_LocalScale: {x: 2, y: 1, z: 2}
m_Children: []
m_Father: {fileID: 1828716198829146157}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &4543528182562699443
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8864229519112577870}
m_Mesh: {fileID: 4300000, guid: 4a45d11e88f706d4ebb66d42897779e0, type: 3}
--- !u!23 &4085195132855863162
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8864229519112577870}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: cc200860bee3eb94dad02af3bcf473b0, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0

+ 7
- 0
Assets/Prefabs/Blocks/Cube_Water.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 3c1f892a78332a64481617382603dd10
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 8
- 0
Assets/Prefabs/Map Sections.meta View File

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

+ 913
- 0
Assets/Prefabs/Map Sections/Map Section Template.prefab View File

@ -0,0 +1,913 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &130774753500836068
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1052288861733412758}
m_Layer: 0
m_Name: Water
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1052288861733412758
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 130774753500836068}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 1}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 3619681099079753660}
m_Father: {fileID: 3619681100419815630}
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &595142772136448429
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4023884450655741215}
m_Layer: 0
m_Name: Track
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4023884450655741215
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 595142772136448429}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1243403699702864586}
m_Father: {fileID: 3619681100419815630}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &646906153782203240
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3264658026752372929}
m_Layer: 0
m_Name: Cannons
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3264658026752372929
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 646906153782203240}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1366389639811960789}
m_Father: {fileID: 3619681100419815630}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1987363972525118467
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7525176871745234139}
m_Layer: 0
m_Name: Boulders
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7525176871745234139
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1987363972525118467}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1190119002573033353}
m_Father: {fileID: 3619681100419815630}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &3619681100419815631
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3619681100419815630}
- component: {fileID: 4348126259560571709}
m_Layer: 0
m_Name: Map Section Template
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3619681100419815630
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3619681100419815631}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 3651984058987782327}
- {fileID: 7525176871745234139}
- {fileID: 3264658026752372929}
- {fileID: 4811882209597410101}
- {fileID: 3733143707459234553}
- {fileID: 4023884450655741215}
- {fileID: 5013508741142493571}
- {fileID: 1052288861733412758}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &4348126259560571709
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3619681100419815631}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 36b3461547afb96459a4c4b059c764a7, type: 3}
m_Name:
m_EditorClassIdentifier:
width: 0
length: 0
sectionName:
boulders: []
belts: []
cannons: []
pits: []
spawns: []
spikes: []
track: []
walls: []
water: []
blocks: []
entrances: []
exits: []
--- !u!1 &5235963486073562068
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5013508741142493571}
m_Layer: 0
m_Name: Wall
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5013508741142493571
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5235963486073562068}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 1, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4721099042904524}
m_Father: {fileID: 3619681100419815630}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &6849798136515530295
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3651984058987782327}
m_Layer: 0
m_Name: Belts
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3651984058987782327
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6849798136515530295}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 2}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1489300178406558280}
m_Father: {fileID: 3619681100419815630}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &7151175679785629762
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3733143707459234553}
m_Layer: 0
m_Name: Spikes
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3733143707459234553
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7151175679785629762}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -2, y: 0, z: -0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 968667811583345056}
m_Father: {fileID: 3619681100419815630}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &7822107785046188488
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4811882209597410101}
m_Layer: 0
m_Name: Pits
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4811882209597410101
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7822107785046188488}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -1, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 2040935596398897612}
m_Father: {fileID: 3619681100419815630}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1243403699284713695
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 4023884450655741215}
m_Modifications:
- target: {fileID: 298388790206689804, guid: bb9ffc1c11072174694465b720cdb319,
type: 3}
propertyPath: m_Name
value: Cube_GroundWGrass
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalPosition.y
value: -0.5
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
--- !u!4 &1243403699702864586 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319,
type: 3}
m_PrefabInstance: {fileID: 1243403699284713695}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1489300178841952922
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 3651984058987782327}
m_Modifications:
- target: {fileID: 2430657395993931422, guid: a0c1c619e4e891142a5144401ec595be,
type: 3}
propertyPath: m_Name
value: Conveyor Belt with Cube
objectReference: {fileID: 0}
- target: {fileID: 437627090, guid: a0c1c619e4e891142a5144401ec595be, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 437627090, guid: a0c1c619e4e891142a5144401ec595be, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 437627090, guid: a0c1c619e4e891142a5144401ec595be, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 437627090, guid: a0c1c619e4e891142a5144401ec595be, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 437627090, guid: a0c1c619e4e891142a5144401ec595be, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 437627090, guid: a0c1c619e4e891142a5144401ec595be, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 437627090, guid: a0c1c619e4e891142a5144401ec595be, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 437627090, guid: a0c1c619e4e891142a5144401ec595be, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 437627090, guid: a0c1c619e4e891142a5144401ec595be, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 437627090, guid: a0c1c619e4e891142a5144401ec595be, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 437627090, guid: a0c1c619e4e891142a5144401ec595be, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: a0c1c619e4e891142a5144401ec595be, type: 3}
--- !u!4 &1489300178406558280 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 437627090, guid: a0c1c619e4e891142a5144401ec595be,
type: 3}
m_PrefabInstance: {fileID: 1489300178841952922}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &3592549227226833794
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 4811882209597410101}
m_Modifications:
- target: {fileID: 3281312547625224785, guid: 58f041c53dc10de43a80197af33f2524,
type: 3}
propertyPath: m_Name
value: InGroundTrap
objectReference: {fileID: 0}
- target: {fileID: 3281312547625224782, guid: 58f041c53dc10de43a80197af33f2524,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3281312547625224782, guid: 58f041c53dc10de43a80197af33f2524,
type: 3}
propertyPath: m_LocalPosition.y
value: -0.5
objectReference: {fileID: 0}
- target: {fileID: 3281312547625224782, guid: 58f041c53dc10de43a80197af33f2524,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3281312547625224782, guid: 58f041c53dc10de43a80197af33f2524,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3281312547625224782, guid: 58f041c53dc10de43a80197af33f2524,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3281312547625224782, guid: 58f041c53dc10de43a80197af33f2524,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3281312547625224782, guid: 58f041c53dc10de43a80197af33f2524,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3281312547625224782, guid: 58f041c53dc10de43a80197af33f2524,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3281312547625224782, guid: 58f041c53dc10de43a80197af33f2524,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3281312547625224782, guid: 58f041c53dc10de43a80197af33f2524,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3281312547625224782, guid: 58f041c53dc10de43a80197af33f2524,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 58f041c53dc10de43a80197af33f2524, type: 3}
--- !u!4 &2040935596398897612 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 3281312547625224782, guid: 58f041c53dc10de43a80197af33f2524,
type: 3}
m_PrefabInstance: {fileID: 3592549227226833794}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &3619681099032281125
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1052288861733412758}
m_Modifications:
- target: {fileID: 1999421548732318256, guid: 3c1f892a78332a64481617382603dd10,
type: 3}
propertyPath: m_Name
value: Cube_Water
objectReference: {fileID: 0}
- target: {fileID: 47964057, guid: 3c1f892a78332a64481617382603dd10, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 47964057, guid: 3c1f892a78332a64481617382603dd10, type: 3}
propertyPath: m_LocalPosition.y
value: -0.5
objectReference: {fileID: 0}
- target: {fileID: 47964057, guid: 3c1f892a78332a64481617382603dd10, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 47964057, guid: 3c1f892a78332a64481617382603dd10, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 47964057, guid: 3c1f892a78332a64481617382603dd10, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 47964057, guid: 3c1f892a78332a64481617382603dd10, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 47964057, guid: 3c1f892a78332a64481617382603dd10, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 47964057, guid: 3c1f892a78332a64481617382603dd10, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 47964057, guid: 3c1f892a78332a64481617382603dd10, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 47964057, guid: 3c1f892a78332a64481617382603dd10, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 47964057, guid: 3c1f892a78332a64481617382603dd10, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 3c1f892a78332a64481617382603dd10, type: 3}
--- !u!4 &3619681099079753660 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 47964057, guid: 3c1f892a78332a64481617382603dd10,
type: 3}
m_PrefabInstance: {fileID: 3619681099032281125}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &3619681099672568669
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 5013508741142493571}
m_Modifications:
- target: {fileID: 4380075252948432824, guid: 125772d94eff8224a8f3a327ec632883,
type: 3}
propertyPath: m_Name
value: Cube_GroundWall
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457, guid: 125772d94eff8224a8f3a327ec632883,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457, guid: 125772d94eff8224a8f3a327ec632883,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457, guid: 125772d94eff8224a8f3a327ec632883,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457, guid: 125772d94eff8224a8f3a327ec632883,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457, guid: 125772d94eff8224a8f3a327ec632883,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457, guid: 125772d94eff8224a8f3a327ec632883,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457, guid: 125772d94eff8224a8f3a327ec632883,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457, guid: 125772d94eff8224a8f3a327ec632883,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457, guid: 125772d94eff8224a8f3a327ec632883,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457, guid: 125772d94eff8224a8f3a327ec632883,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3615111875144653457, guid: 125772d94eff8224a8f3a327ec632883,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 125772d94eff8224a8f3a327ec632883, type: 3}
--- !u!4 &4721099042904524 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 3615111875144653457, guid: 125772d94eff8224a8f3a327ec632883,
type: 3}
m_PrefabInstance: {fileID: 3619681099672568669}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &5131759270089627188
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 3264658026752372929}
m_Modifications:
- target: {fileID: 6179448856766749154, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
propertyPath: m_Name
value: ShootingCannon + Block
objectReference: {fileID: 0}
- target: {fileID: 6179448856766749153, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6179448856766749153, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
propertyPath: m_LocalPosition.y
value: -0.5
objectReference: {fileID: 0}
- target: {fileID: 6179448856766749153, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
propertyPath: m_LocalPosition.z
value: -1
objectReference: {fileID: 0}
- target: {fileID: 6179448856766749153, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6179448856766749153, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6179448856766749153, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6179448856766749153, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6179448856766749153, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6179448856766749153, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6179448856766749153, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6179448856766749153, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7559508468311915790, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
propertyPath: m_Mesh
value:
objectReference: {fileID: 0}
- target: {fileID: 7559508468311915784, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
propertyPath: m_havePropertiesChanged
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7559508468311915784, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
propertyPath: m_isInputParsingRequired
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 72b0336b2f8509045b92eadaecbc885b, type: 3}
--- !u!4 &1366389639811960789 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6179448856766749153, guid: 72b0336b2f8509045b92eadaecbc885b,
type: 3}
m_PrefabInstance: {fileID: 5131759270089627188}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &5555582857666324045
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 7525176871745234139}
m_Modifications:
- target: {fileID: 6745622317302131141, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
propertyPath: m_Name
value: CrushingBoulder
objectReference: {fileID: 0}
- target: {fileID: 6745622317302131140, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6745622317302131140, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
propertyPath: m_LocalPosition.y
value: 1.5
objectReference: {fileID: 0}
- target: {fileID: 6745622317302131140, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6745622317302131140, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6745622317302131140, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6745622317302131140, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6745622317302131140, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6745622317302131140, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6745622317302131140, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6745622317302131140, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6745622317302131140, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6745622315908332753, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
propertyPath: m_Mesh
value:
objectReference: {fileID: 0}
- target: {fileID: 6745622315908332755, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
propertyPath: m_havePropertiesChanged
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6745622315908332755, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
propertyPath: m_isInputParsingRequired
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 26e034cbe9690f14a87e8365ee7734f1, type: 3}
--- !u!4 &1190119002573033353 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6745622317302131140, guid: 26e034cbe9690f14a87e8365ee7734f1,
type: 3}
m_PrefabInstance: {fileID: 5555582857666324045}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &8357708420401355602
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 3733143707459234553}
m_Modifications:
- target: {fileID: 9119206199061355249, guid: 9c7fae64659c0ef42ad2fe9b386e8ef9,
type: 3}
propertyPath: m_Name
value: CubeWithCrystals
objectReference: {fileID: 0}
- target: {fileID: 9119206199061355250, guid: 9c7fae64659c0ef42ad2fe9b386e8ef9,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9119206199061355250, guid: 9c7fae64659c0ef42ad2fe9b386e8ef9,
type: 3}
propertyPath: m_LocalPosition.y
value: -0.5
objectReference: {fileID: 0}
- target: {fileID: 9119206199061355250, guid: 9c7fae64659c0ef42ad2fe9b386e8ef9,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9119206199061355250, guid: 9c7fae64659c0ef42ad2fe9b386e8ef9,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 9119206199061355250, guid: 9c7fae64659c0ef42ad2fe9b386e8ef9,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 9119206199061355250, guid: 9c7fae64659c0ef42ad2fe9b386e8ef9,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 9119206199061355250, guid: 9c7fae64659c0ef42ad2fe9b386e8ef9,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9119206199061355250, guid: 9c7fae64659c0ef42ad2fe9b386e8ef9,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9119206199061355250, guid: 9c7fae64659c0ef42ad2fe9b386e8ef9,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9119206199061355250, guid: 9c7fae64659c0ef42ad2fe9b386e8ef9,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9119206199061355250, guid: 9c7fae64659c0ef42ad2fe9b386e8ef9,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9c7fae64659c0ef42ad2fe9b386e8ef9, type: 3}
--- !u!4 &968667811583345056 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 9119206199061355250, guid: 9c7fae64659c0ef42ad2fe9b386e8ef9,
type: 3}
m_PrefabInstance: {fileID: 8357708420401355602}
m_PrefabAsset: {fileID: 0}

+ 7
- 0
Assets/Prefabs/Map Sections/Map Section Template.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 41543e3d31e4d024ea0ff70d0f0ce941
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 8666
- 0
Assets/Prefabs/Map Sections/Start 4-player.prefab
File diff suppressed because it is too large
View File


+ 7
- 0
Assets/Prefabs/Map Sections/Start 4-player.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: afe780b4be941d4458dbc0f21af47c1c
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 9558
- 0
Assets/Prefabs/Map Sections/Start 8-player.prefab
File diff suppressed because it is too large
View File


+ 7
- 0
Assets/Prefabs/Map Sections/Start 8-player.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 9925375edf44fb946bd8ad8f2a6a4bba
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 8433
- 0
Assets/Prefabs/Map Sections/Test 1.prefab
File diff suppressed because it is too large
View File


+ 7
- 0
Assets/Prefabs/Map Sections/Test 1.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 4efb1823a27421f4babd161f2ed095da
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 8700
- 0
Assets/Prefabs/Map Sections/Test 2.prefab
File diff suppressed because it is too large
View File


+ 7
- 0
Assets/Prefabs/Map Sections/Test 2.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: c5b330c0284d525488f03d213c7875aa
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 4301
- 0
Assets/Prefabs/Map Sections/Test 3.prefab
File diff suppressed because it is too large
View File


+ 7
- 0
Assets/Prefabs/Map Sections/Test 3.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f92f86a4898cf314c9672cf6d58320aa
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 345
- 0
Assets/Prefabs/Traps/Conveyor Belt with Cube.prefab View File

@ -0,0 +1,345 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2430657395993931422
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 437627090}
- component: {fileID: 859222414598846322}
m_Layer: 0
m_Name: Conveyor Belt with Cube
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &437627090
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2430657395993931422}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 7287252781365539386}
- {fileID: 4490968977809283}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &859222414598846322
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2430657395993931422}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6692f0c965cb4fa41b616ba0991653a3, type: 3}
m_Name:
m_EditorClassIdentifier:
clientData: {fileID: 11400000, guid: ded0b21c3ef1e7049a1128c12e9401fe, type: 2}
Names: []
left: 0
forward: 0
triggeranimate: 0
--- !u!1 &3424486742927057916
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7287252781365539386}
- component: {fileID: 1376194202737726602}
- component: {fileID: 7909594284434926968}
- component: {fileID: 1386403355058630248}
m_Layer: 0
m_Name: Plane
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7287252781365539386
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3424486742927057916}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0.51, z: 0}
m_LocalScale: {x: 0.1, y: 0.1, z: 0.1}
m_Children: []
m_Father: {fileID: 437627090}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &1376194202737726602
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3424486742927057916}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &7909594284434926968
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3424486742927057916}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: d243897630e0747498d8b617f60dc26d, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!64 &1386403355058630248
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3424486742927057916}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 3
m_Convex: 0
m_CookingOptions: 14
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1001 &589977586
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 4490968977809283}
m_Modifications:
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_Name
value: Cube_GroundL
objectReference: {fileID: 0}
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalPosition.y
value: -2
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
--- !u!1001 &816154313
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 4490968977809283}
m_Modifications:
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_Name
value: Cube_GroundU
objectReference: {fileID: 0}
- target: {fileID: 1133981147424236, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalPosition.y
value: -1
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4721099042904524, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e5fac62723232674aa487c9073f1ca07, type: 3}
--- !u!1001 &1100376119
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 437627090}
m_Modifications:
- target: {fileID: 1141756196039588, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_Name
value: Cube_GroundWGrass
objectReference: {fileID: 0}
- target: {fileID: 1141756196039588, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_TagString
value: Coloured
objectReference: {fileID: 0}
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_LocalPosition.y
value: -0.5
objectReference: {fileID: 0}
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_LocalScale.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_LocalScale.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
propertyPath: m_LocalScale.z
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d7698c69246c64044ab2a94628bf0291, type: 3}
--- !u!4 &4490968977809283 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4490970058520500, guid: d7698c69246c64044ab2a94628bf0291,
type: 3}
m_PrefabInstance: {fileID: 1100376119}
m_PrefabAsset: {fileID: 0}

+ 7
- 0
Assets/Prefabs/Traps/Conveyor Belt with Cube.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: a0c1c619e4e891142a5144401ec595be
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 1
- 0
Assets/Prefabs/Traps/Conveyor Belt.prefab View File

@ -45,6 +45,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
clientData: {fileID: 11400000, guid: ded0b21c3ef1e7049a1128c12e9401fe, type: 2}
Names: []
left: 0
forward: 0
triggeranimate: 0

+ 495
- 0
Assets/Prefabs/Traps/ShootingCannon + Block.prefab View File

@ -0,0 +1,495 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &6179448856766749154
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6179448856766749153}
- component: {fileID: 8314131447071905225}
m_Layer: 0
m_Name: ShootingCannon + Block
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6179448856766749153
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6179448856766749154}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -0.5, y: -0.5, z: -0.5}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 6183695074135418386}
- {fileID: 6183622079954844821}
- {fileID: 7559508468311915785}
- {fileID: 4546202105378142430}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &8314131447071905225
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6179448856766749154}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 44366bd8a25270844bdd9a5db9f2b0e0, type: 3}
m_Name:
m_EditorClassIdentifier:
shootingRight: 1
triggeranimate: 0
shootingObject: {fileID: 3506936643819969965, guid: e8cf547bc36bd094f860f652fbe08047,
type: 3}
spawnLocation: {fileID: 6183695074135418386}
counter: {fileID: 7559508468311915784}
countdowntimer: 3
--- !u!1 &6180422965807075217
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6183622079954844821}
- component: {fileID: 6176648320464007577}
- component: {fileID: 6166428682762043949}
m_Layer: 0
m_Name: Canon
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6183622079954844821
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6180422965807075217}
m_LocalRotation: {x: 0.17364816, y: -0, z: -0, w: 0.9848078}
m_LocalPosition: {x: 0, y: 1, z: -0.18200016}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 6179448856766749153}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 20, y: 0, z: 0}
--- !u!33 &6176648320464007577
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6180422965807075217}
m_Mesh: {fileID: 4300000, guid: 11fb0b0b08e257f45b2947a4e67e3f39, type: 3}
--- !u!23 &6166428682762043949
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6180422965807075217}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 6e87d9ec395110b44a460dd506e7394a, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!1 &6180506142403350468
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6183695074135418386}
- component: {fileID: 6177211973616283382}
- component: {fileID: 6167065627464661554}
- component: {fileID: 280194889601264906}
m_Layer: 0
m_Name: Cube_BalkHalf
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &6183695074135418386
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6180506142403350468}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 1.338, z: 0.25}
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_Children: []
m_Father: {fileID: 6179448856766749153}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &6177211973616283382
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6180506142403350468}
m_Mesh: {fileID: 4300000, guid: 13520d5ed98fd144790b2d75ff70f874, type: 3}
--- !u!23 &6167065627464661554
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6180506142403350468}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: d2fc3dc38639be54089426d728d0b01b, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!65 &280194889601264906
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6180506142403350468}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 0.24999993, y: 0.2500002, z: 0.53749573}
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &7559508468311915786
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7559508468311915785}
- component: {fileID: 7559508468311915789}
- component: {fileID: 7559508468311915790}
- component: {fileID: 7559508468311915791}
- component: {fileID: 7559508468311915784}
m_Layer: 0
m_Name: Countdown Timer
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &7559508468311915785
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7559508468311915786}
m_LocalRotation: {x: 0, y: -0.7071068, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0, z: 0.134}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 6179448856766749153}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: -90, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0.262, y: 1.321}
m_SizeDelta: {x: 0.5, y: 0.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!23 &7559508468311915789
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7559508468311915786}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!33 &7559508468311915790
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7559508468311915786}
m_Mesh: {fileID: 0}
--- !u!222 &7559508468311915791
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7559508468311915786}
m_CullTransparentMesh: 0
--- !u!114 &7559508468311915784
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7559508468311915786}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_text: 5
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_outlineColor:
serializedVersion: 2
rgba: 4278190080
m_fontSize: 3
m_fontSizeBase: 3
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_textAlignment: 514
m_isAlignmentEnumConverted: 1
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_firstOverflowCharacterIndex: -1
m_linkedTextComponent: {fileID: 0}
m_isLinkedTextComponent: 0
m_isTextTruncated: 0
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 0
m_isCullingEnabled: 0
m_ignoreRectMaskCulling: 0
m_ignoreCulling: 1
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_firstVisibleCharacter: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_textInfo:
textComponent: {fileID: 7559508468311915784}
characterCount: 1
spriteCount: 0
spaceCount: 0
wordCount: 1
linkCount: 0
lineCount: 1
pageCount: 1
materialCount: 1
m_havePropertiesChanged: 0
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_spriteAnimator: {fileID: 0}
m_isInputParsingRequired: 0
m_inputSource: 0
m_hasFontAssetChanged: 0
m_renderer: {fileID: 7559508468311915789}
m_subTextObjects:
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
m_maskType: 0
--- !u!1001 &4546202105798836939
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 6179448856766749153}
m_Modifications:
- target: {fileID: 298388790206689804, guid: bb9ffc1c11072174694465b720cdb319,
type: 3}
propertyPath: m_Name
value: Cube_GroundWGrass
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bb9ffc1c11072174694465b720cdb319, type: 3}
--- !u!4 &4546202105378142430 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 427276821, guid: bb9ffc1c11072174694465b720cdb319,
type: 3}
m_PrefabInstance: {fileID: 4546202105798836939}
m_PrefabAsset: {fileID: 0}

+ 7
- 0
Assets/Prefabs/Traps/ShootingCannon + Block.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 72b0336b2f8509045b92eadaecbc885b
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 326
- 71
Assets/Prefabs/UI/Player Canvas.prefab View File

@ -1,5 +1,294 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1363815576
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1363815577}
- component: {fileID: 1363815579}
- component: {fileID: 1363815578}
m_Layer: 0
m_Name: txt_Time
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &1363815577
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1363815576}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1593162621}
m_Father: {fileID: 2665231842684883354}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0.25}
m_SizeDelta: {x: 0, y: -2.5000007}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1363815579
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1363815576}
m_CullTransparentMesh: 0
--- !u!114 &1363815578
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1363815576}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_text: 30
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4278190080
m_fontColor: {r: 0, g: 0, b: 0, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_outlineColor:
serializedVersion: 2
rgba: 4278190080
m_fontSize: 41.4
m_fontSizeBase: 36
m_fontWeight: 400
m_enableAutoSizing: 1
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_textAlignment: 516
m_isAlignmentEnumConverted: 1
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_firstOverflowCharacterIndex: -1
m_linkedTextComponent: {fileID: 0}
m_isLinkedTextComponent: 0
m_isTextTruncated: 0
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_ignoreRectMaskCulling: 0
m_ignoreCulling: 1
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_firstVisibleCharacter: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 11.0223055, z: 0, w: 7.420044}
m_textInfo:
textComponent: {fileID: 1363815578}
characterCount: 2
spriteCount: 0
spaceCount: 0
wordCount: 1
linkCount: 0
lineCount: 1
pageCount: 1
materialCount: 1
m_havePropertiesChanged: 1
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_spriteAnimator: {fileID: 0}
m_isInputParsingRequired: 1
m_inputSource: 0
m_hasFontAssetChanged: 0
m_subTextObjects:
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!1 &1593162620
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1593162621}
- component: {fileID: 1593162624}
- component: {fileID: 1593162623}
- component: {fileID: 1593162622}
m_Layer: 0
m_Name: Button
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1593162621
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1593162620}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1363815577}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0.6498871}
m_SizeDelta: {x: 0, y: -0.49163055}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1593162624
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1593162620}
m_CullTransparentMesh: 0
--- !u!114 &1593162623
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1593162620}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
--- !u!114 &1593162622
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1593162620}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 1593162623}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1240851277759925011}
m_MethodName: On_ClickPauseTime
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!1 &2513432637800871259
GameObject:
m_ObjectHideFlags: 0
@ -31,10 +320,10 @@ RectTransform:
m_Father: {fileID: 5195354182462625304}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &7314421917572336346
MonoBehaviour:
@ -62,7 +351,7 @@ GameObject:
- component: {fileID: 2665231841929910944}
- component: {fileID: 2665231841929910945}
m_Layer: 0
m_Name: txt_ConnectToServer
m_Name: txt_Lives
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
@ -83,9 +372,9 @@ RectTransform:
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 15, y: -0.49998093}
m_SizeDelta: {x: -29, y: -1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 14.75, y: -0.49998474}
m_SizeDelta: {x: -29.5, y: -1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2665231841929910944
CanvasRenderer:
@ -115,7 +404,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_text: Connect to server
m_text: 'Lives: 3'
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
@ -143,7 +432,7 @@ MonoBehaviour:
m_outlineColor:
serializedVersion: 2
rgba: 4278190080
m_fontSize: 72
m_fontSize: 42.75
m_fontSizeBase: 36
m_fontWeight: 400
m_enableAutoSizing: 1
@ -184,10 +473,10 @@ MonoBehaviour:
m_margin: {x: 0, y: 11.0223055, z: 0, w: 7.420044}
m_textInfo:
textComponent: {fileID: 2665231841929910945}
characterCount: 17
characterCount: 8
spriteCount: 0
spaceCount: 2
wordCount: 3
spaceCount: 1
wordCount: 2
linkCount: 0
lineCount: 1
pageCount: 1
@ -237,7 +526,7 @@ RectTransform:
m_GameObject: {fileID: 2665231842396078508}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.414, y: 0.414, z: 0.414}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 2665231842684883354}
m_Father: {fileID: 5195354182462625304}
@ -245,8 +534,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -33}
m_SizeDelta: {x: 0, y: 147.9}
m_AnchoredPosition: {x: 0, y: -49.69995}
m_SizeDelta: {x: 0, y: 99.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2665231842396078505
CanvasRenderer:
@ -315,12 +604,13 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 2665231841929910950}
- {fileID: 1363815577}
m_Father: {fileID: 2665231842396078511}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -16.2}
m_AnchoredPosition: {x: 0, y: -16.199997}
m_SizeDelta: {x: 0, y: -32.3}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2665231842684883348
@ -506,7 +796,7 @@ MonoBehaviour:
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_spriteAnimator: {fileID: 0}
m_isInputParsingRequired: 0
m_isInputParsingRequired: 1
m_inputSource: 0
m_hasFontAssetChanged: 0
m_subTextObjects:
@ -538,7 +828,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &2052082028810034629
RectTransform:
m_ObjectHideFlags: 0
@ -636,8 +926,8 @@ MonoBehaviour:
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_MethodName: OnClick_Play
- m_Target: {fileID: 3185526843783068320}
m_MethodName: OnClick_Return
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
@ -765,7 +1055,7 @@ MonoBehaviour:
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
- m_Target: {fileID: 1240851277759925011}
m_MethodName: OnClick_Play
m_Mode: 1
m_Arguments:
@ -1061,7 +1351,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: -0.000052183314, y: -0.000015258789}
m_AnchoredPosition: {x: -0.000068744885, y: -0.0000076293945}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!114 &5195354181806561393
@ -1219,11 +1509,11 @@ MonoBehaviour:
m_EditorClassIdentifier:
Inventory: {fileID: 5195354183134146528}
AnimationSpeed: 0.5
TrayUI: {fileID: 0}
TrayUI: {fileID: 3185526843783068320}
Client: {fileID: 11400000, guid: 8dca4719b56d91143b236583a436c911, type: 2}
TimeText: {fileID: 0}
TimeText: {fileID: 1363815578}
Title: {fileID: 2665231842396078511}
TotalTime: 30
LivesText: {fileID: 2665231841929910945}
isTimePaused: 0
--- !u!1 &5195354182925078845
GameObject:
@ -1317,14 +1607,14 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0.392}
m_Color: {r: 0.9607844, g: 0.9607844, b: 0.96470594, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
m_Sprite: {fileID: 10911, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
@ -1410,18 +1700,7 @@ MonoBehaviour:
m_TargetGraphic: {fileID: 5195354183083441317}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_MethodName: OnClick_Toggle
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_Calls: []
m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!222 &5195354183083441316
@ -1498,9 +1777,9 @@ RectTransform:
m_Father: {fileID: 5195354182462625304}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: 0, y: -464.00006}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: 85.99994}
m_SizeDelta: {x: -388.7, y: 141.70001}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5195354183101525348
@ -1524,14 +1803,14 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0.62352943}
m_Color: {r: 0.8862745, g: 0.884576, b: 0.88235295, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
m_Sprite: {fileID: 10911, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
@ -1573,7 +1852,7 @@ MonoBehaviour:
playButton: {fileID: 5195354181250555041}
returnButton: {fileID: 4080157917815310858}
border: {fileID: 5195354183101525349}
maxLength: 6
maxLength: 4
reader:
LogicChain: []
readerQueue: []
@ -1637,14 +1916,14 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0.73333335}
m_Color: {r: 0.882353, g: 0.8862746, b: 0.882353, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
m_Sprite: {fileID: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
@ -1704,7 +1983,6 @@ GameObject:
- component: {fileID: 5195354183157824117}
- component: {fileID: 5195354183157824119}
- component: {fileID: 5195354183157824116}
- component: {fileID: 5195354183157824118}
- component: {fileID: 5195354183157824121}
m_Layer: 5
m_Name: List
@ -1770,29 +2048,6 @@ MonoBehaviour:
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
--- !u!114 &5195354183157824118
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5195354183157824114}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 140e56929e1450a48b2f7716511bb327, type: 3}
m_Name:
m_EditorClassIdentifier:
Priority: 0
Prefab: {fileID: 6973439230367005604, guid: f1daf3f500b22a048bbbad4287c2fcb2, type: 3}
insertIndex: -1
content: {fileID: 5195354181806561359}
playButton: {fileID: 0}
returnButton: {fileID: 0}
border: {fileID: 0}
maxLength: 6
reader:
LogicChain: []
readerQueue: []
--- !u!114 &5195354183157824121
MonoBehaviour:
m_ObjectHideFlags: 0

+ 2
- 2
Assets/Scenes/Client Scenes/ClientScene.unity View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d7258afade2696f1f0e60c62feee99dad86bdbf347b9fc27b33b5adb1fa5343a
size 38163
oid sha256:18d4101b77a4debce58be4d79cde998867da2e07e181f9e819dae5d4830b4545
size 14794

+ 2
- 2
Assets/Scenes/Client Scenes/LoginScreen.unity View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7d072ed5fffb0afdf3ee9090c2b01468dba1779c7c97d3a8d961897c5b8f1f1
size 259079
oid sha256:d62fbbd19c357e8a8f7dc643cb14fd4912694dcb56997edb1736298346b4bf9a
size 260483

+ 3
- 0
Assets/Scenes/Levels/RaceTrack Beta.unity View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5b17b077ec5bf78c41162b5e3c5024b0c8c06fc191232c67d00d4ec4a1de61f
size 30956

+ 7
- 0
Assets/Scenes/Levels/RaceTrack Beta.unity.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 3e2c4bdfa02df644c8e12bdee0334145
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 2
- 2
Assets/Scenes/Menus/Lobby.unity View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:76d144d17d2449c33d10af1441e25d63a3345727027fcbddfa5482eb14db0163
size 46629
oid sha256:41504b94f956056ec1a07d3a60f25c9ae6fc6bddc8d60d7d614da1b396003576
size 46619

+ 2
- 2
Assets/Scenes/Menus/MainMenu Server.unity View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7540d8a828fa229a7cbd1b42c1cf1c2a141ff62dd20d3a789e06ffca160bce56
size 147326
oid sha256:19e715ef892a3ffdf3f8a66c86509b8a944cbc0c2ce8a48a5e7cc4a871240685
size 142616

+ 21
- 10
Assets/Scripts/Character.cs View File

@ -33,7 +33,7 @@ public class Character : MonoBehaviour
public bool CloneInventoryOnStart = false;
[Tooltip("How many lives to start out with")]
public int lives = 5;
public int lives = 3;
[SerializeField]
[Tooltip("Character to display")]
@ -253,7 +253,6 @@ public class Character : MonoBehaviour
}
transform.position = Target.VisualPosition;
}
IEnumerator MoveCoroutine(Block Target, Transform Current, float time, float heightMax)
{
float elapsedTime = 0;
@ -270,7 +269,6 @@ public class Character : MonoBehaviour
}
transform.position = Target.VisualPosition;
}
IEnumerator MoveConveyorForwardCoroutine(Block Target, Transform Current, float time, float heightMax)
{
float elapsedTime = 0;
@ -331,7 +329,6 @@ public class Character : MonoBehaviour
}
Current.position = charEndPosition;
}
IEnumerator PushLeftCoroutine(Transform Current, float time)
{
float elapsedTime = 0;
@ -347,7 +344,6 @@ public class Character : MonoBehaviour
}
Current.position = endPosition;
}
IEnumerator PushRightCoroutine(Transform Current, float time)
{
float elapsedTime = 0;
@ -363,7 +359,6 @@ public class Character : MonoBehaviour
}
Current.position = endPosition;
}
IEnumerator MoveDownCoroutine(Block Target, Transform Current, float time, float heightMax)
{
float elapsedTime = 0;
@ -379,14 +374,12 @@ public class Character : MonoBehaviour
}
transform.position = Target.VisualPosition;
}
IEnumerator rotateCoroutine(Direction direction, Transform Current, float time, float heightMax)
{
float elapsedTime = 0;
time *= 0.8f;
Vector3 endDirection = direction.ToVector(Current);
Vector3 startDirection = Current.forward;
Vector3 startPosition = transform.position;
while (elapsedTime < time)
{
characterAnimator.Play("Jump");
@ -396,7 +389,21 @@ public class Character : MonoBehaviour
}
transform.forward = endDirection;
}
IEnumerator rotateHalfCoroutine(Direction direction, Transform Current, float time, float heightMax)
{
float elapsedTime = 0;
time *= 0.8f;
Vector3 endDirection = (direction.ToVector(Current) + Current.forward).normalized;
Vector3 startDirection = Current.forward;
while (elapsedTime < time)
{
characterAnimator.Play("Jump");
transform.forward = Vector3.Slerp(startDirection, endDirection, (elapsedTime / time));
yield return new WaitForEndOfFrame();
elapsedTime += Time.deltaTime;
}
transform.forward = endDirection;
}
/// <summary>
/// Moves one block in specefied direction, Can walk off obstacles
@ -508,7 +515,6 @@ public class Character : MonoBehaviour
}
}
public void respawnCharacter()
{
/* Will introduce more complex criteria for choosing where to respawn the player in future
@ -623,6 +629,11 @@ public class Character : MonoBehaviour
StartCoroutine(rotateCoroutine(direction, transform, speed, 0.15f));
//transform.forward = direction.ToVector(transform);
}
public void RotateHalf(Direction direction, float speed)
{
StartCoroutine(rotateHalfCoroutine(direction, transform, speed, 0.15f));
//transform.forward = direction.ToVector(transform);
}
/// <summary>
/// Jumps in specefied direction, picks between Long Jump and Jumping up

+ 1
- 5
Assets/Scripts/GameMode/ColorGameMode/ColorGameMode.cs View File

@ -136,11 +136,6 @@ public class ColorGameMode : GameMode
* It's not needed from move to move, so we clear it
*/
player.character.justMoved = false;
if (BlocksOwned.ContainsKey(player.client))
player.client.SceneScore = BlocksOwned[player.client].Count;
else
player.client.SceneScore = 0;
}
}
@ -179,6 +174,7 @@ public class ColorGameMode : GameMode
if (character.inPit)
{
character.lives -= 1;
character.ClientLink.Lives = character.lives;
}
Debug.Log("inWater = " + character.inWater + ", inPit = " + character.inPit + ", stuck = " + character.stuck);

+ 20
- 7
Assets/Scripts/GameMode/ColorGameMode/RacetrackGameMode.cs View File

@ -8,17 +8,28 @@ using UnityEngine.UI;
[CreateAssetMenu(menuName = "Major Project/GameModes/Racetrack", order = 201)]
public class RacetrackGameMode : GameMode
{
public MapManager mapManager;
public int MaxRound = 5;
public int MaxRound = 999;
public string nextScene = "ServerTestScene";
List<ClientData> ConnectedClients;
public Material OverlayMaterial;
public float scrollSpeed = 0.0f; //The rate at which the level will scroll past
public float scrollSpeed = 1.0f; //The rate at which the level will scroll past
public int RoundCount { get; private set; }
private Dictionary<ClientData, List<Block>> BlocksOwned;
/// <summary>
/// Called once before any players have spawned
/// </summary>
protected override void OnPreGameStart()
{
//mapManager.init(ConnectedClients.Count);
mapManager.init(5);
}
/// <summary>
/// Called once all players have finished their moves but before the Objective is checked
/// </summary>
@ -28,11 +39,12 @@ public class RacetrackGameMode : GameMode
if (scrollSpeed > 0.0f)
{
Camera.main.transform.Translate(scrollSpeed, 0, 0, Space.World);
Debug.Log("New camera position at x = " + Camera.main.transform.position.x);
mapManager.checkTrack();
//Debug.Log("New camera position at x = " + Camera.main.transform.position.x);
}
else
{
Debug.Log("Not scrolling");
//Debug.Log("Not scrolling");
}
//At the end of each round, any stuck players are freed to resume moving next round
@ -40,7 +52,7 @@ public class RacetrackGameMode : GameMode
{
player.character.stuck = false;
if (player.character.inPit)
if (player.character.inPit && player.client.Lives > 0)
{
player.character.respawnCharacter();
}
@ -137,10 +149,10 @@ public class RacetrackGameMode : GameMode
*/
player.character.justMoved = false;
if (BlocksOwned.ContainsKey(player.client))
/* if (BlocksOwned.ContainsKey(player.client))
player.client.SceneScore = BlocksOwned[player.client].Count;
else
player.client.SceneScore = 0;
player.client.SceneScore = 0;*/
}
}
@ -179,6 +191,7 @@ public class RacetrackGameMode : GameMode
if (character.inPit)
{
character.lives -= 1;
character.ClientLink.Lives = character.lives;
}
Debug.Log("inWater = " + character.inWater + ", inPit = " + character.inPit + ", stuck = " + character.stuck);

+ 2
- 2
Assets/Scripts/GameMode/ColorGameMode/ScoreDisplay.cs View File

@ -35,12 +35,12 @@ public class ScoreDisplay : MonoBehaviour
public void levelComplete()
{
ConnectedClients = clientDataList.ConnectedClients;
ConnectedClients.Sort((a, b) => b.SceneScore.CompareTo(a.SceneScore));
ConnectedClients.Sort((a, b) => b.Lives.CompareTo(a.Lives));
for (int i = 0; i < ConnectedClients.Count; i++)
{
players[i].GetComponent<TextMeshProUGUI>().text = ConnectedClients[i].Name;
scores[i].GetComponent<TextMeshProUGUI>().text = ConnectedClients[i].SceneScore.ToString();
scores[i].GetComponent<TextMeshProUGUI>().text = ConnectedClients[i].Lives.ToString();
}
int assignedPoints = 3;
for (int i = 0; i < ConnectedClients.Count; i++)

+ 1
- 1
Assets/Scripts/GameMode/GameMode.cs View File

@ -122,7 +122,7 @@ public abstract class GameMode : ScriptableObject
for (int i = 0; i < allPlayers.Length; i++)
{
allPlayers[i].client.SceneScore = 0;
allPlayers[i].client.Lives = 3;
}
OnGameStart(allPlayers);
GameStartEvent?.Invoke();

+ 61
- 0
Assets/Scripts/Logic/Blocks/RotateHalf.cs View File

@ -0,0 +1,61 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Logic block which deals with moving a character in a direction
/// </summary>
[CreateAssetMenu(menuName = "Major Project/RotateHalf Block")]
[System.Serializable]
public class RotateHalf : LogicBlock
{
#region Inspector Fields
[SerializeField]
[Header("Rotate Settings")]
[Tooltip("Direction to rotate in")]
protected Direction direction;
#endregion Inspector Fields
#region Class Functions
/// <summary>
/// Rotates the player in the direction specified by this block
/// </summary>
/// <param name="player">Player to rotate</param>
protected override void BlockLogic(Character player, float animationTime)
{
player.RotateHalf(direction, animationTime);
}
/// <summary>
/// Returns the block that the character will endUp on after they use this logic element
/// </summary>
/// <param name="startBlock">block character is on</param>
/// <param name="layerMask">layers to ignore</param>
/// <returns>block which character will finish on after performing this function </returns>
public override Block GetEndBlock(Block startBlock, Transform transform, LayerMask layerMask)
{
//no movement when rotating
return startBlock;
}
public override void CopyToken(BlockToken token)
{
base.CopyToken(token);
direction = ((DirectionToken)token).direction;
}
public override BlockToken ToToken(BlockToken token = null)
{
if (token == null)
token = new DirectionToken(this);
DirectionToken retVal = (DirectionToken)base.ToToken(token);
retVal.direction = direction;
return retVal;
}
#endregion Class Functions
}

+ 11
- 0
Assets/Scripts/Logic/Blocks/RotateHalf.cs.meta View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f6cdbe450444d7945857bf5bc1cd58d2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

+ 51
- 19
Assets/Scripts/Managers/GameManager.cs View File

@ -33,7 +33,6 @@ public class GameManager : MonoBehaviour
#region Private Variables
private Dictionary<int, PlayerData> playerData;
private List<ActiveBlock> activeBlocks;
#endregion Private Variables
#region Read Only
@ -52,9 +51,7 @@ public class GameManager : MonoBehaviour
private void Start()
{
//Find all active blocks
//#TODO don't use the find function
activeBlocks = FindObjectsOfType<ActiveBlock>().ToList();
//Start Game
StartCoroutine(GameRoutine());
}
@ -87,6 +84,7 @@ public class GameManager : MonoBehaviour
//Spawn Characters and tell let the GameMode do anything with the characters it might want
SpawnCharacters();
playerDataAsArray.ForEach(p => p.client.SendLives());
gameMode.GameStart(playerDataAsArray);
//Loop until the GameMode lets us know the game is over
@ -104,6 +102,12 @@ public class GameManager : MonoBehaviour
gameMode.GameEnd(playerDataAsArray);
}
void removePlayer(PlayerData player)
{
player.client.ChangeScene("WaitScene");
player.isDead = true;
}
private IEnumerator RoundRoutine()
{
//Tell the gamemode that we are starting a round
@ -122,12 +126,7 @@ public class GameManager : MonoBehaviour
//Let Gamemode know all players have moved
gameMode.AllPlayersMoved(playerDataAsArray.ToArray());
//Tell each environment block to take a move
activeBlocks.ForEach(p => p.OnEnvironmentTurn(playerDataAsArray));
gameMode.EnvironmentTurn(playerDataAsArray);
playerDataAsArray.ForEach(p => p.client.SendScore()); //Update the players score
playerDataAsArray.ForEach(p => p.client.SendLives()); //Update the players score
//if Game is over break out of loop
if (gameMode.isGameOver(playerDataAsArray))
@ -137,13 +136,29 @@ public class GameManager : MonoBehaviour
//Let GameMode know that Round is Over
gameMode.RoundEnd(playerDataAsArray.ToArray());
//Reset some player Data
//check is anyone has 0 lives remaining
//remove them from the array
//force them back to the waiting for players screen
foreach (PlayerData player in playerDataAsArray)
{
player.blockReader.Reset();
player.client.SendInventory();
if(player.client.Lives == 0)
{
Debug.Log("Remove: " + player.client.characterAnimal);
removePlayer(player);
}
}
//Reset some player Data
foreach (PlayerData player in playerDataAsArray)
{
if(player.client.Lives > 0)
{
player.blockReader.Reset();
player.client.SendInventory();
}
}
}
private IEnumerator WaitForPlayerInput()
@ -151,19 +166,35 @@ public class GameManager : MonoBehaviour
//send round length to players
//#TODO make this only happen after first input
LogicProtocols.FloatMsg RoundTime = new LogicProtocols.FloatMsg(gameMode.GetRoundTime());
playerDataAsArray.ForEach(p => p.client.conn.Send(LogicProtocols.SendRoundTime, RoundTime));
//playerDataAsArray.ForEach(p => p.client.conn.Send(LogicProtocols.SendRoundTime, RoundTime));
foreach (PlayerData player in playerDataAsArray)
{
if (player.client.Lives > 0)
{
player.client.conn.Send(LogicProtocols.SendRoundTime, RoundTime);
}
}
//Send players to input Scene
ClientList.ForEach(p => p.ChangeScene("ClientScene"));
//ClientList.ForEach(p => p.ChangeScene("ClientScene"));
foreach (ClientData client in ClientList)
{
if(client.Lives > 0){client.ChangeScene("ClientScene");}
}
//Let gamemode know clients are input-ing
gameMode.InputStart(playerDataAsArray);
//wait for all players to
yield return new WaitUntil(() => playerData.All(p => p.Value.recievedList));
yield return new WaitUntil(() => playerData.All(p => p.Value.recievedList || p.Value.isDead));
//reset
playerDataAsArray.ForEach(p => p.recievedList = false); //reset all players list
//playerDataAsArray.ForEach(p => p.recievedList = false); //reset all players list
foreach (PlayerData player in playerDataAsArray)
{
if (player.client.Lives > 0){player.recievedList = false;}
}
//Let gamemode know all inputs have been recieved
gameMode.InputEnd(playerDataAsArray);
@ -209,9 +240,9 @@ public class GameManager : MonoBehaviour
//int spawnIndex = 0;
//If we have an odd number of players, then we start at spawn point 0 (in the middle)
//If we have an even number, then we skip it
int spawnIndex = ((ClientList.Count() + 1) % 2);
//int spawnIndex = ((ClientList.Count() + 1) % 2);
//int spawnIndex = 0;
int spawnIndex = 0;
foreach (ClientData client in ClientList)
{
@ -276,6 +307,7 @@ public class PlayerData
public ClientData client;
public bool recievedList;
public bool isDead = false;
public PlayerData(Character character, ClientData client)
{

+ 8
- 0
Assets/Scripts/Map Generation.meta View File

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

+ 279
- 0
Assets/Scripts/Map Generation/MapManager.cs View File

@ -0,0 +1,279 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//public class MapManager : MonoBehaviour
[CreateAssetMenu(menuName = "Major Project/Map Manager")]
public class MapManager : ScriptableObject
{
public GameObject spawn4; //The section to use as a spawn-point for games with 2-5 players
public GameObject spawn8; //The section to use a spawn-point for games with 5-8 players
//In 5-player games, we choose between them at random
public List<MapSection> sections; //The list of sections to choose from after starting
public int minConns = 2; //The minimum number of valid connections between two map sections for them to be allowed to link up
public float xForward = 28.0f; //How far ahead of the camera's current position do we want to extend the track?
public float xBack = -4.0f; //And how far behind the camera's position does a section need to fall before being deleted?
public List<MapSection> activeSections; //The list of sections that have been placed on the map (and not removed)
MapSection lastSection; //Which map-section was most recently added?
float startX = -16.0f; //The x-position of the current start of the track
float endX = -16.0f; //The x-position of the current end of the track
// Start is called before the first frame update
void Start()
{
}
public void init(int players)
{
activeSections = new List<MapSection>();
if (players < 5)
{
addSection(spawn4.GetComponent<MapSection>());
}
else if (players > 5)
{
addSection(spawn8.GetComponent<MapSection>());
}
else
{
if (Random.Range(0.0f, 1.0f) < 0.5f)
{
addSection(spawn4.GetComponent<MapSection>());
}
else
{
addSection(spawn8.GetComponent<MapSection>());
}
}
switch (players)
{
case 2:
foreach (GameObject spawnBlock in lastSection.spawns2)
{
spawnBlock.GetComponent<Block>().isSpawnable = true;
}
break;
case 3:
foreach (GameObject spawnBlock in lastSection.spawns3)
{
spawnBlock.GetComponent<Block>().isSpawnable = true;
}
break;
case 4:
foreach (GameObject spawnBlock in lastSection.spawns4)
{
spawnBlock.GetComponent<Block>().isSpawnable = true;
}
break;
case 5:
foreach (GameObject spawnBlock in lastSection.spawns5)
{
spawnBlock.GetComponent<Block>().isSpawnable = true;
}
break;
case 6:
foreach (GameObject spawnBlock in lastSection.spawns6)
{
spawnBlock.GetComponent<Block>().isSpawnable = true;
}
break;
case 7:
foreach (GameObject spawnBlock in lastSection.spawns7)
{
spawnBlock.GetComponent<Block>().isSpawnable = true;
}
break;
case 8:
foreach (GameObject spawnBlock in lastSection.spawns8)
{
spawnBlock.GetComponent<Block>().isSpawnable = true;
}
break;
default:
foreach (GameObject spawnBlock in lastSection.spawns1)
{
spawnBlock.GetComponent<Block>().isSpawnable = true;
}
break;
}
checkForward();
}
void chooseNextSection()
{
//First, we determine which sections are valid
List<MapSection> validSections = new List<MapSection>();
foreach (MapSection section in sections)
{
if (checkSegments(section))
{
validSections.Add(section); //If a segment is a valid continuation of the current most-recent segment, add it to the list
}
}
//Having generated our list, we choose a random segment from it
/*foreach (MapSection section in validSections)
{
Debug.Log("Valid section: " + section.name);
}*/
Debug.Log("Choosing section");
MapSection nextSection = validSections[(int)Random.Range(0.0f, (float)validSections.Count)];
Debug.Log("Chosen section: " + nextSection.name);
addSection(nextSection);
}
void addSection(MapSection section)
{
//Instantiate new section at x = endX
Vector3 pos = new Vector3(endX, 0.0f, 0.0f);
GameObject newSection = (GameObject)Instantiate(section.gameObject, pos, Quaternion.identity);
//GameObject.Instantiate(section.gameObject, pos, Quaternion.identity);
MapSection newSectionScript = newSection.GetComponent<MapSection>();
newSectionScript.InitSection(activeSections.Count);
newSection.name = newSectionScript.name;
activeSections.Add(newSectionScript);
lastSection = newSectionScript;
endX += newSectionScript.length;
}
bool checkSegments(MapSection second)
{
return checkSegments(this.lastSection, second);
}
bool checkSegments(MapSection first, MapSection second)
{
int connections = 0;
//Debug.Log("Checking sections: first = " + first.name + ", second = " + second.name);
foreach (GameObject exit in first.exits)
{
foreach (GameObject entry in second.entrances)
{
/*Debug.Log("Checking connections: exit = " + exit.transform.localPosition.z + ", " + exit.transform.localPosition.x
+ ", entry = " + entry.transform.localPosition.z + ", " + entry.transform.localPosition.x);*/
if (checkConnection(exit, entry))
{
connections++;
}
}
}
//Debug.Log("Connections = " + connections);
if (connections >= minConns)
{
//Debug.Log("Valid section!");
}
else
{
//Debug.Log("Invalid section!");
}
return (connections >= minConns);
}
bool checkConnection(GameObject exit, GameObject entry)
{
/*Debug.Log("Checking connections: exit = " + exit.transform.localPosition.z + ", " + exit.transform.localPosition.x
+ ", entry = " + entry.transform.localPosition.z + ", " + entry.transform.localPosition.x);*/
//If the squares being checked don't line up, the connection is invalid
if (exit.transform.localPosition.z != entry.transform.localPosition.z)
{
//Debug.Log(exit.transform.localPosition.z + " != " + entry.transform.localPosition.z);
return false;
}
//Debug.Log("Exit.is_Walkable = " + exit.GetComponent<Block>().is_Walkable + ", Entry.is_Walkable = " + entry.GetComponent<Block>().is_Walkable);
//Since we currently don't let people jump over walls, if either block is a wall, the connection is invalid
if (!(exit.GetComponent<Block>().is_Walkable) || !(entry.GetComponent<Block>().is_Walkable))
{
//Debug.Log("Invalid connection - not walkable");
return false;
}
//Debug.Log("Exit.isWater = " + exit.GetComponent<Block>().isWater + ", Entry.isWater = " + entry.GetComponent<Block>().isWater);
//If both components are water, moving through this connection is technically possible, but we don't count it as valid
if ((exit.GetComponent<Block>().isWater) && (entry.GetComponent<Block>().isWater))
{
//Debug.Log("Invalid connection - both water");
return false;
}
//Debug.Log("Valid connection!");
//If we've passed all these tests, the connection is valid!
return true;
}
//Check whether it's time to extend the track forward
void checkForward()
{
//We check if the end of the last section of track is in sight
Vector3 trackEnd = new Vector3(endX, 0.0f); //Get the middle of the end of the last track section
//If it is, then we add a new section
if (checkView(trackEnd))
{
chooseNextSection();
checkForward();
}
}
//Check whether it's time to delete the oldest section of active track
void checkBack()
{
//We check if the end of the first section of track is still in sight
Vector3 firstSectionEnd = new Vector3(startX + activeSections[0].length, 0.0f); //Get the middle of the end of the first track section
//If it's not, then we remove it
if (!(checkView(firstSectionEnd)))
{
startX += activeSections[0].length;
activeSections[0].destroySection();
activeSections.RemoveAt(0);
}
}
//Check whether a point is in sight or not
bool checkView(Vector3 point)
{
Vector3 screenPoint = Camera.main.WorldToViewportPoint(point); //Map it into viewport space
//The camera's field of view is represented by 0 > (x, y) < 1, with z being the distance from the camera
return (screenPoint.z > 0 && screenPoint.x > 0 && screenPoint.x < 1 && screenPoint.y > 0 && screenPoint.y < 1);
}
//Checks in both directions for sections needing to be added or removed
public void checkTrack()
{
checkForward();
checkBack();
}
// Update is called once per frame
void Update()
{
//checkTrack();
}
}

+ 11
- 0
Assets/Scripts/Map Generation/MapManager.cs.meta View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 410315ba4dbcba04a90c22b64b070d6a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

+ 81
- 0
Assets/Scripts/Map Generation/MapSection.cs View File

@ -0,0 +1,81 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MapSection : MonoBehaviour
{
public int width = 0;
public int length = 0;
int size;
public string sectionName = "";
//Lists of spawn points
//One for each possible number of players
public List<GameObject> spawns1;
public List<GameObject> spawns2;
public List<GameObject> spawns3;
public List<GameObject> spawns4;
public List<GameObject> spawns5;
public List<GameObject> spawns6;
public List<GameObject> spawns7;
public List<GameObject> spawns8;
//Lists of each type of block, assigned in the inspector
public List<GameObject> boulders;
public List<GameObject> belts;
public List<GameObject> cannons;
public List<GameObject> pits;
public List<GameObject> spikes;
public List<GameObject> track;
public List<GameObject> walls;
public List<GameObject> water;
public List<GameObject> blocks; //Complete list of all blocks, cleared & filled on creation
public List<GameObject> entrances; //Ways into this map segment
public List<GameObject> exits; //Ways out of this map segment
// Start is called before the first frame update
void Start()
{
}
public void InitSection()
{
size = width * length;
blocks = new List<GameObject>();
blocks.AddRange(boulders);
blocks.AddRange(belts);
blocks.AddRange(cannons);
blocks.AddRange(pits);
//blocks.AddRange(spawns);
blocks.AddRange(spikes);
blocks.AddRange(track);
blocks.AddRange(walls);
blocks.AddRange(water);
}
public void InitSection(int num)
{
name = num + " " + name;
InitSection();
}
public int getSize()
{
return size;
}
public void destroySection()
{
/*foreach (GameObject block in blocks)
{
Object.Destroy(block);
}*/
/*Debug.Log("Destroying section " + name + ", position = " + transform.position.x + ", " + transform.position.y + ", " + transform.position.z);
gameObject.transform.position = new Vector3(0.0f, 0.0f, 1000.0f);*/
Debug.Log("Destroying section " + name + ", position = " + transform.position.x + ", " + transform.position.y + ", " + transform.position.z);
//gameObject.SetActive(false);
Destroy(gameObject);
}
}

+ 11
- 0
Assets/Scripts/Map Generation/MapSection.cs.meta View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 36b3461547afb96459a4c4b059c764a7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

+ 15
- 6
Assets/Scripts/Networking/Client/ClientObject.cs View File

@ -49,19 +49,21 @@ namespace Networking.Client
[Tooltip("Current Score in Round")]
public float RoundScore;
[SerializeField]
[Tooltip("Remaining Lives")]
public float RemainingLives;
[SerializeField]
[Tooltip("A list of all connected clients")]
public ConnectedClients ConnectedClients;
#endregion Inspector Fields
#region ReadOnly Variables
public NetworkClient client { get; private set; }
public bool isConnected { get { return client != null && client.isConnected; } }
#endregion ReadOnly Variables
public void Connect(string serverAddress,int port)
{
Debug.Log("Connecting to server: " + serverAddress + ", " + port);
@ -81,6 +83,7 @@ namespace Networking.Client
client.RegisterHandler(MsgType.Disconnect, OnDisconnect);
client.RegisterHandler(LogicProtocols.SendRoundTime, UpdateTime);
client.RegisterHandler(LogicProtocols.SendScore, UpdateScore);
client.RegisterHandler(LogicProtocols.SendLives, UpdateLives);
}
public void Stop()
@ -97,7 +100,6 @@ namespace Networking.Client
this.PlayerColor = PlayerColor;
}
public void RecieveInventory(NetworkMessage msg)
{
Debug.Log("Recieving Inventory");
@ -132,8 +134,7 @@ namespace Networking.Client
if (!msg.TryRead(out floatMsg))
return;
RoundTime = floatMsg.Float;
RoundTime = floatMsg.Float;
}
public void UpdateScore(NetworkMessage msg)
@ -144,6 +145,14 @@ namespace Networking.Client
RoundScore = floatMsg.Float;
}
}
public void UpdateLives(NetworkMessage msg)
{
LogicProtocols.FloatMsg floatMsg;
if (!msg.TryRead(out floatMsg))
return;
RemainingLives = floatMsg.Float;
}
}
}

+ 2
- 5
Assets/Scripts/Networking/Core/Protocols/LogicProtocols.cs View File

@ -12,7 +12,8 @@ namespace Networking
public const short SendInventory = 201;
public const short SendRoundTime = 202;
public const short SendNotification = 203;
public const short SendScore = 204;
public const short SendScore = 205;
public const short SendLives = 204;
public class LogicMsg : MessageBase
@ -100,10 +101,6 @@ namespace Networking
bagItems[i].isInfinit = reader.ReadBoolean();
}
}
}
public class FloatMsg : MessageBase

+ 9
- 9
Assets/Scripts/Networking/Server/ClientList.cs View File

@ -157,7 +157,7 @@ namespace Networking.Server
newClient.conn.Send(LoginProtocols.LoginSuccess, new LoginProtocols.LoginMsg(newClient.Name, newClient.Color, newClient.characterAnimal));
OnClientsChange.Invoke(ConnectedClients);
newClient.SendInventory();
newClient.SendScore();
newClient.SendLives();
newClient.ChangeScene("WaitScene");
@ -209,15 +209,15 @@ namespace Networking.Server
/// </summary>
public int Score;
/// <summary>
/// Clients character animal - needed for instantiation
/// </summary>
public string characterAnimal = "Bear";
/// <summary>
/// Clients Current Lives
/// </summary>
public int Lives;
/// <summary>
/// Clients number of collected items - for colelction level
/// Clients character animal - needed for instantiation
/// </summary>
public int SceneScore = 0;
public string characterAnimal = "Bear";
/// <summary>
/// Network connection ID
@ -242,9 +242,9 @@ namespace Networking.Server
conn.SendByChannel(LogicProtocols.SendInventory, new LogicProtocols.InventoryMsg(Inventory), TransportConfigure.ReliableFragmented);
}
public void SendScore()
public void SendLives()
{
conn.Send(LogicProtocols.SendScore, new LogicProtocols.FloatMsg(SceneScore));
conn.Send(LogicProtocols.SendLives, new LogicProtocols.FloatMsg(Lives));
}
public void ChangeScene(string scene, bool Additive = false)

+ 2
- 2
Assets/Scripts/PortalSetup.cs View File

@ -51,10 +51,10 @@ public class PortalSetup : MonoBehaviour
void Update()
{
if (!collectedFive && (ConnectedClients[0].SceneScore >= collectAmount || ConnectedClients[1].SceneScore >= collectAmount || ConnectedClients[2].SceneScore >= collectAmount || ConnectedClients[3].SceneScore >= collectAmount)){
/*if (!collectedFive && (ConnectedClients[0].SceneScore >= collectAmount || ConnectedClients[1].SceneScore >= collectAmount || ConnectedClients[2].SceneScore >= collectAmount || ConnectedClients[3].SceneScore >= collectAmount)){
collectedFive = true;
StartCoroutine (ColorChange ());
}
}*/
}
private void Awake ()

+ 38
- 7
Assets/Scripts/UI/Client/LoginUIManager.cs View File

@ -6,6 +6,9 @@ using TMPro;
public class LoginUIManager : MonoBehaviour
{
public int conn;
public int maxPlayers = 2;
ConnectedClients clients;
[Header("References")]
[SerializeField]
private ClientLoginManager clientManager;
@ -34,6 +37,9 @@ public class LoginUIManager : MonoBehaviour
[SerializeField]
private GameObject WaitObject;
[Header("TooManyPlayerDetails")]
[SerializeField]
private GameObject tooManyObject;
private string serverAddress;
private int serverPort;
@ -44,8 +50,11 @@ public class LoginUIManager : MonoBehaviour
bool animalSelected = false;
bool colorSelected = false;
#region Unity Functions
private void Update()
{
conn = GetComponent<animalSelection>().count;
}
private void OnEnable()
{
clientManager.OnConnectedToServer += OnConnect;
@ -74,10 +83,16 @@ public class LoginUIManager : MonoBehaviour
#region Event Functions
IEnumerator DisplayTooManyCoroutine()
{
tooManyObject.SetActive(true);
yield return new WaitForSeconds(5.0f);
tooManyObject.SetActive(false);
}
public void OnConnect()
{
Title.text = DetailsTitle;
CloseAll();
DetailsObject.SetActive(true);
}
@ -89,10 +104,18 @@ public class LoginUIManager : MonoBehaviour
WaitObject.SetActive(true);
}
public void OnLoginFail()
public void OnLoginFail2Many()
{
Title.text = ConnectionTitle;
CloseAll();
StartCoroutine(DisplayTooManyCoroutine());
ConnectionObject.SetActive(true);
}
public void OnLoginFail()
{
Title.text = ConnectionTitle;
Debug.Log("Failure");
CloseAll();
ConnectionObject.SetActive(true);
}
@ -124,10 +147,18 @@ public class LoginUIManager : MonoBehaviour
public void OnClick_Done()
{
if(colorSelected == true && animalSelected == true && playerName != ""){
clientManager.SendPlayerDetails(playerName, playerColor, playerAnimal);
PlayerPrefs.SetString("LastUsedName", playerName);
}
if(conn <= maxPlayers)
{
if (colorSelected == true && animalSelected == true && playerName != "")
{
clientManager.SendPlayerDetails(playerName, playerColor, playerAnimal);
PlayerPrefs.SetString("LastUsedName", playerName);
}
}
else
{
OnLoginFail2Many();
}
}
public void OnClick_Animal(string playerAnimal)

+ 2
- 2
Assets/Scripts/UI/LeadPlayerUI.cs View File

@ -35,8 +35,8 @@ public class LeadPlayerUI : MonoBehaviour
ColorImage.gameObject.SetActive(true);
}
ClientData lead = Clients.maxBy(p => p.SceneScore);
ScoreText.text = lead.SceneScore.ToString();
ClientData lead = Clients.maxBy(p => p.Lives);
ScoreText.text = lead.Lives.ToString();
ColorImage.color = lead.Color;
}

+ 2
- 8
Assets/Scripts/UI/NetworkedUIManager.cs View File

@ -14,7 +14,7 @@ public class NetworkedUIManager : PlayerUIManager
[SerializeField]
private RectTransform Title;
[SerializeField]
private TMPro.TextMeshProUGUI ScoreText;
private TMPro.TextMeshProUGUI LivesText;
[Header("Debug")]
[SerializeField]
@ -31,12 +31,10 @@ public class NetworkedUIManager : PlayerUIManager
TrayUI.SetBlockReader(reader);
StartTime = Time.time;
ShowPosition.y -= Title.rect.height;
ScoreText.text = "Score: " + Client.RoundScore;
LivesText.text = "Lives: " + Client.RemainingLives;
OnClick_Show();
}
private void Update()
{
if (!isTimePaused)
@ -67,8 +65,4 @@ public class NetworkedUIManager : PlayerUIManager
else
TimeText.color = Color.black;
}
}

+ 2
- 1
Assets/Scripts/animalSelection.cs View File

@ -8,6 +8,7 @@ public class animalSelection : MonoBehaviour
{
public ConnectedClients Clients;
public List<Toggle> Animals;
public int count;
//private void OnEnable()
//{
@ -22,7 +23,7 @@ public class animalSelection : MonoBehaviour
public void Update()
{
count = Clients.AllClients.Count;
if (Clients.AllClients.Count > 0)
{
for (int i = 0; i < Clients.AllClients.Count; i++)

+ 4
- 4
Assets/Scripts/blockSpawn.cs View File

@ -37,14 +37,14 @@ public class blockSpawn : MonoBehaviour
private void getPlayerScores()
{
ConnectedClients.Sort((b, a) => a.SceneScore.CompareTo(b.SceneScore));
ConnectedClients.Sort((b, a) => a.Lives.CompareTo(b.Lives));
int totalScores = 0;
scoreDifference = ConnectedClients[0].SceneScore + ConnectedClients[ConnectedClients.Count-1].SceneScore;
scoreDifference = ConnectedClients[0].Lives + ConnectedClients[ConnectedClients.Count-1].Lives;
//Debug.Log("score difference " + scoreDifference);
for(int i = 0; i < ConnectedClients.Count; i++)
{
totalScores += ConnectedClients[i].SceneScore;
totalScores += ConnectedClients[i].Lives;
}
average = totalScores / ConnectedClients.Count;
//Debug.Log("score average " + average);
@ -140,7 +140,7 @@ public class blockSpawn : MonoBehaviour
float[] difAvg = new float[clients.Length];
for (int i = 0; i < clients.Length; i++)
{
difAvg[i] = clients[i].SceneScore - average;
difAvg[i] = clients[i].Lives - average;
}
float[] ratio = new float[clients.Length];

+ 0
- 27
Assets/Scripts/portalTesting.cs View File

@ -18,33 +18,6 @@ public class portalTesting : MonoBehaviour
// Update is called once per frame
void Update()
{
if(Input.GetKeyDown(KeyCode.A)){
ConnectedClients[0].SceneScore++;
if(ConnectedClients[0].SceneScore >= 5){
ps.validIndex.Add(0);
}
}
if(Input.GetKeyDown(KeyCode.B)){
ConnectedClients[1].SceneScore++;
if(ConnectedClients[1].SceneScore >= 5){
ps.validIndex.Add(1);
}
}
if(Input.GetKeyDown(KeyCode.C)){
ConnectedClients[2].SceneScore++;
if(ConnectedClients[2].SceneScore >= 5){
ps.validIndex.Add(2);
}
}
if(Input.GetKeyDown(KeyCode.D)){
ConnectedClients[3].SceneScore++;
if(ConnectedClients[3].SceneScore >= 5){
ps.validIndex.Add(3);
}
}
}

+ 8
- 0
Assets/Textures/LogicBlock Icon.meta View File

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

+ 3
- 0
Assets/Textures/LogicBlock Icon/Diagonal Left.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:797c80359d748ca9eb93ae935f6699dc9356c2444013b2767ce9613cfdd6bd30
size 422

+ 88
- 0
Assets/Textures/LogicBlock Icon/Diagonal Left.png.meta View File

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: b5303b6285b27d345a2657490d651805
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/Textures/LogicBlock Icon/Diagonal Right.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f6047cac018dfa6a1237d44383a3e044fd86c1911443d758a296925b2ac3e914
size 418

+ 88
- 0
Assets/Textures/LogicBlock Icon/Diagonal Right.png.meta View File

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: f9c121aa5dd94774292bbe7e9697d8d8
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/Textures/LogicBlock Icon/Jump.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93799cce52b318c5b4e43e6930f5e371a4b76d79d922f024b37d38109f79c15f
size 1062

+ 88
- 0
Assets/Textures/LogicBlock Icon/Jump.png.meta View File

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: 99c3f925fa4d07b449cdd93a393bd4cb
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/Textures/LogicBlock Icon/Move x2.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13117150ad22150314bc2852c4251e64855a4bcff0166fc4848b131ed33fb7e5
size 411

+ 88
- 0
Assets/Textures/LogicBlock Icon/Move x2.png.meta View File

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: d0027d9d4de34bf48876244e09b61986
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/Textures/LogicBlock Icon/Move.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:198b7478a58b6bc3553bb361803916249b080ef0f80719a5854d93ffc5dcc106
size 480

+ 88
- 0
Assets/Textures/LogicBlock Icon/Move.png.meta View File

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: 93a9f29ab6aec3d459bade2ad6f8269a
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/Textures/LogicBlock Icon/Rotate Left.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94c3a129b3f411f4de61a5cf801edf87427e5b9392249e9572a4b6e1217df974
size 644

+ 88
- 0
Assets/Textures/LogicBlock Icon/Rotate Left.png.meta View File

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: 64fc00eca60a5514d9b214f7fa403b1d
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/Textures/LogicBlock Icon/Rotate Right.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:631aa2b6cdc2cfca015d45c371935803a566feec1c5484d3a79228e3713694ed
size 633

+ 88
- 0
Assets/Textures/LogicBlock Icon/Rotate Right.png.meta View File

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: 144bff30f700f224d8930e1e21503aa6
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/Textures/LogicBlock Icon/U-Turn.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b30d3163eb78e7e67ee8e4f9c4a2cca40c69e4415ce7024e4f85ad1f6e4ccc04
size 1094

+ 88
- 0
Assets/Textures/LogicBlock Icon/U-Turn.png.meta View File

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: dcd15978a1c1f2d4a939666ac8750eba
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/Textures/LogicBlock Icon/_DiagonalLeft.jpg View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cd59b204419c5aee422363ff1ff1439ef3a1b9fb08ca9bbb60c28d5574ad38c5
size 1943

+ 88
- 0
Assets/Textures/LogicBlock Icon/_DiagonalLeft.jpg.meta View File

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: 0d08281cc3eb5b0448ff9e615ed06a30
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/Textures/LogicBlock Icon/_DiagonalLeft.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38cdec4a7f28cfae770c0a4b0e5fc75e0ba0c75c86656fdc8ac34f63bdda407e
size 449

+ 88
- 0
Assets/Textures/LogicBlock Icon/_DiagonalLeft.png.meta View File

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: c90e597d9f8f2c74585ce58cb1b1c145
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/Textures/LogicBlock Icon/_DiagonalRight.jpg View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8df6ff6b298a2cc62082edf262c2ed62c9d0266dc62845deb61f9fa4f2728016
size 1985

+ 88
- 0
Assets/Textures/LogicBlock Icon/_DiagonalRight.jpg.meta View File

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: 88b528743afadb64eba2de2adac92bcd
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/Textures/LogicBlock Icon/_DiagonalRight.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b9ac2019b436b0c877ff6326eef450d6f75a07a3e3fbaf3477167504ab98d5f
size 455

+ 88
- 0
Assets/Textures/LogicBlock Icon/_DiagonalRight.png.meta View File

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: a61d8b24d0b9d044280cf21e85b5c636
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/Textures/LogicBlock Icon/_Jump.jpg View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e379415ee193de35ca759c551cb3bfcd3ce539613ac817ef399d4c250d65f89
size 2372

+ 88
- 0
Assets/Textures/LogicBlock Icon/_Jump.jpg.meta View File

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: e1eb7e1008ae1024a8d57230fdd486dc
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/Textures/LogicBlock Icon/_Jump.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1233798236c74ea357524fb321431b3dd3be2c330519370816698237fc3bf1bb
size 1207

+ 88
- 0
Assets/Textures/LogicBlock Icon/_Jump.png.meta View File

@ -0,0 +1,88 @@
fileFormatVersion: 2
guid: 0904b76da12b39e4c95179b678a50a1a
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save