Skip to content

Commit

Permalink
Geração do terreno
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasVinicius314 committed Sep 6, 2022
1 parent 8c95a99 commit c411a7c
Show file tree
Hide file tree
Showing 19 changed files with 271 additions and 459 deletions.
20 changes: 17 additions & 3 deletions Assets/Prefabs/Geometry/Corridor.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ GameObject:
- component: {fileID: 1512510488903838250}
- component: {fileID: 1512510488903838251}
- component: {fileID: 1512510488903838248}
m_Layer: 0
m_Layer: 7
m_Name: Cube
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down Expand Up @@ -834,7 +834,8 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 1512510490295915832}
m_Layer: 0
- component: {fileID: 8806165094647198657}
m_Layer: 7
m_Name: Corridor
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand All @@ -858,6 +859,19 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &8806165094647198657
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1512510490295915833}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 805fdd402844143449c117db608dd1af, type: 3}
m_Name:
m_EditorClassIdentifier:
dimensions: {x: 8, y: 3, z: 8}
--- !u!1 &5912142284899155845
GameObject:
m_ObjectHideFlags: 0
Expand All @@ -867,7 +881,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 1993360738814005221}
m_Layer: 0
m_Layer: 7
m_Name: Attachment
m_TagString: Untagged
m_Icon: {fileID: 0}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,48 +1,80 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2197883235744611184
--- !u!1 &6036638518381947339
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2197883235744611178}
- component: {fileID: 2197883235744611179}
- component: {fileID: 2197883235744611180}
- component: {fileID: 2197883235744611181}
- component: {fileID: 2197883235744611182}
- component: {fileID: 2197883235744611183}
m_Layer: 0
m_Name: Wall-S
- component: {fileID: 6036638518381947336}
m_Layer: 7
m_Name: DeadEnd
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2197883235744611178
--- !u!4 &6036638518381947336
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2197883235744611184}
m_GameObject: {fileID: 6036638518381947339}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -30, y: 0, z: 0}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Children:
- {fileID: 6036638518928302446}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &2197883235744611179
--- !u!1 &6036638518928302441
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6036638518928302446}
- component: {fileID: 6036638518928302435}
- component: {fileID: 6036638518928302434}
- component: {fileID: 6036638518928302445}
- component: {fileID: 6036638518928302444}
- component: {fileID: 6036638518928302447}
m_Layer: 7
m_Name: Cube
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6036638518928302446
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6036638518928302441}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -3, y: 0, z: -1}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6036638518381947336}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &6036638518928302435
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2197883235744611184}
m_GameObject: {fileID: 6036638518928302441}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8233d90336aea43098adf6dbabd606a2, type: 3}
Expand Down Expand Up @@ -164,54 +196,54 @@ MonoBehaviour:
m_SharedTextures: []
m_Positions:
- {x: 0, y: 0, z: 1}
- {x: 10, y: 0, z: 1}
- {x: 0, y: 3, z: 1}
- {x: 10, y: 3, z: 1}
- {x: 10, y: 0, z: 1}
- {x: 10, y: 0, z: 0}
- {x: 10, y: 3, z: 1}
- {x: 10, y: 3, z: 0}
- {x: 10, y: 0, z: 0}
- {x: 6, y: 0, z: 1}
- {x: 0, y: 2, z: 1}
- {x: 6, y: 2, z: 1}
- {x: 6, y: 0, z: 1}
- {x: 6, y: 0, z: 0}
- {x: 6, y: 2, z: 1}
- {x: 6, y: 2, z: 0}
- {x: 6, y: 0, z: 0}
- {x: 0, y: 0, z: 0}
- {x: 10, y: 3, z: 0}
- {x: 0, y: 3, z: 0}
- {x: 6, y: 2, z: 0}
- {x: 0, y: 2, z: 0}
- {x: 0, y: 0, z: 0}
- {x: 0, y: 0, z: 1}
- {x: 0, y: 3, z: 0}
- {x: 0, y: 3, z: 1}
- {x: 0, y: 3, z: 1}
- {x: 10, y: 3, z: 1}
- {x: 0, y: 3, z: 0}
- {x: 10, y: 3, z: 0}
- {x: 0, y: 2, z: 0}
- {x: 0, y: 2, z: 1}
- {x: 0, y: 2, z: 1}
- {x: 6, y: 2, z: 1}
- {x: 0, y: 2, z: 0}
- {x: 6, y: 2, z: 0}
- {x: 0, y: 0, z: 0}
- {x: 10, y: 0, z: 0}
- {x: 6, y: 0, z: 0}
- {x: 0, y: 0, z: 1}
- {x: 10, y: 0, z: 1}
- {x: 6, y: 0, z: 1}
m_Textures0:
- {x: 0, y: 0}
- {x: -10, y: 0}
- {x: 0, y: 3}
- {x: -10, y: 3}
- {x: -6, y: 0}
- {x: 0, y: 2}
- {x: -6, y: 2}
- {x: 1, y: 0}
- {x: 0, y: 0}
- {x: 1, y: 3}
- {x: 0, y: 3}
- {x: 10, y: 0}
- {x: 1, y: 2}
- {x: 0, y: 2}
- {x: 6, y: 0}
- {x: 0, y: 0}
- {x: 10, y: 3}
- {x: 0, y: 3}
- {x: 6, y: 2}
- {x: 0, y: 2}
- {x: 0, y: 0}
- {x: -1, y: 0}
- {x: 0, y: 3}
- {x: -1, y: 3}
- {x: 0, y: 2}
- {x: -1, y: 2}
- {x: 0, y: 1}
- {x: 10, y: 1}
- {x: 6, y: 1}
- {x: 0, y: 0}
- {x: 10, y: 0}
- {x: 6, y: 0}
- {x: 0, y: 0}
- {x: -10, y: 0}
- {x: -6, y: 0}
- {x: 0, y: 1}
- {x: -10, y: 1}
- {x: -6, y: 1}
m_Textures2: []
m_Textures3: []
m_Tangents:
Expand Down Expand Up @@ -248,45 +280,45 @@ MonoBehaviour:
m_PreserveMeshAssetOnDestroy: 0
assetGuid:
m_Mesh: {fileID: 0}
m_VersionIndex: 17
m_VersionIndex: 21
m_IsSelectable: 1
m_SelectedFaces:
m_SelectedEdges: []
m_SelectedVertices:
--- !u!114 &2197883235744611180
--- !u!114 &6036638518928302434
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2197883235744611184}
m_GameObject: {fileID: 6036638518928302441}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1ca002da428252441b92f28d83c8a65f, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Shape:
rid: 2146742158488502282
m_Size: {x: 10, y: 3, z: 1}
rid: 1833426981419220995
m_Size: {x: 6, y: 2, z: 1}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_PivotLocation: 1
m_PivotPosition: {x: 0, y: 0, z: 0}
m_UnmodifiedMeshVersion: 17
m_ShapeBox:
m_Center: {x: 5, y: 1.5, z: 0.5}
m_Extent: {x: 5, y: 1.5, z: 0.5}
m_Center: {x: 3, y: 1, z: 0.5}
m_Extent: {x: 3, y: 1, z: 0.5}
references:
version: 2
RefIds:
- rid: 2146742158488502282
- rid: 1833426981419220995
type: {class: Cube, ns: UnityEngine.ProBuilder.Shapes, asm: Unity.ProBuilder}
--- !u!23 &2197883235744611181
--- !u!23 &6036638518928302445
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2197883235744611184}
m_GameObject: {fileID: 6036638518928302441}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
Expand Down Expand Up @@ -322,21 +354,21 @@ MeshRenderer:
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &2197883235744611182
--- !u!33 &6036638518928302444
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2197883235744611184}
m_GameObject: {fileID: 6036638518928302441}
m_Mesh: {fileID: 0}
--- !u!64 &2197883235744611183
--- !u!64 &6036638518928302447
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2197883235744611184}
m_GameObject: {fileID: 6036638518928302441}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
Expand Down
File renamed without changes.
Loading

0 comments on commit c411a7c

Please sign in to comment.