diff --git a/Assets/Materials/PathBlockerMat.mat b/Assets/Materials/PathBlockerMat.mat new file mode 100644 index 0000000..c407a68 --- /dev/null +++ b/Assets/Materials/PathBlockerMat.mat @@ -0,0 +1,78 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: PathBlockerMat + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: _ALPHAPREMULTIPLY_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 3000 + stringTagMap: + RenderType: Transparent + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 10 + - _GlossMapScale: 1 + - _Glossiness: 1 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 3 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 0 + m_Colors: + - _Color: {r: 1, g: 0, b: 0.85633945, a: 0.27058825} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/Assets/Materials/PathBlockerMat.mat.meta b/Assets/Materials/PathBlockerMat.mat.meta new file mode 100644 index 0000000..54960c9 --- /dev/null +++ b/Assets/Materials/PathBlockerMat.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5860e01ec4ea228429cd6af49cbfe209 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Environment/PathBlocker.prefab b/Assets/Prefabs/Environment/PathBlocker.prefab new file mode 100644 index 0000000..a5285c7 --- /dev/null +++ b/Assets/Prefabs/Environment/PathBlocker.prefab @@ -0,0 +1,142 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &26414221262277314 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3641492041855039777} + - component: {fileID: 1846917075123426791} + - component: {fileID: 2002598594009972198} + - component: {fileID: 727274791276632793} + - component: {fileID: 4315016764747099062} + m_Layer: 0 + m_Name: Capsule + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3641492041855039777 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 26414221262277314} + m_LocalRotation: {x: 0, y: 0, z: 0.7071068, w: 0.7071068} + m_LocalPosition: {x: 0, y: 1, z: 0} + m_LocalScale: {x: 2, y: 2, z: 2} + m_Children: [] + m_Father: {fileID: 7234109734831889898} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90} +--- !u!33 &1846917075123426791 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 26414221262277314} + m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &2002598594009972198 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 26414221262277314} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 5860e01ec4ea228429cd6af49cbfe209, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + 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!136 &727274791276632793 +CapsuleCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 26414221262277314} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + m_Radius: 0.5 + m_Height: 2 + m_Direction: 1 + m_Center: {x: 0, y: 0, z: 0} +--- !u!114 &4315016764747099062 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 26414221262277314} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 673e6bd2603d0304881fd68d9ff50b29, type: 3} + m_Name: + m_EditorClassIdentifier: + HideOnPlay: 1 + Renderer: {fileID: 2002598594009972198} +--- !u!1 &4974584046764878105 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7234109734831889898} + m_Layer: 0 + m_Name: PathBlocker + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &7234109734831889898 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4974584046764878105} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -9.219441, y: -19.302113, z: -6.9905896} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 3641492041855039777} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/Prefabs/Environment/PathBlocker.prefab.meta b/Assets/Prefabs/Environment/PathBlocker.prefab.meta new file mode 100644 index 0000000..25cf7dc --- /dev/null +++ b/Assets/Prefabs/Environment/PathBlocker.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 65b9ab5277d05de459f2091021e0ee01 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Yee.unity b/Assets/Scenes/Yee.unity index 29f5001..0d53525 100644 --- a/Assets/Scenes/Yee.unity +++ b/Assets/Scenes/Yee.unity @@ -2958,6 +2958,43 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: a266bcf30ea85ae4f8457cbcd97ad222, type: 3} +--- !u!1 &1309454696 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1309454697} + m_Layer: 0 + m_Name: PathBlockers + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1309454697 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1309454696} + 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: 1516410723} + - {fileID: 1899959293} + - {fileID: 1725548147} + - {fileID: 1925838389} + - {fileID: 2035828777} + - {fileID: 1970451857} + - {fileID: 1429243175} + m_Father: {fileID: 1660514110} + m_RootOrder: 16 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1329553632 GameObject: m_ObjectHideFlags: 0 @@ -3152,6 +3189,96 @@ RectTransform: type: 3} m_PrefabInstance: {fileID: 1427206711} m_PrefabAsset: {fileID: 0} +--- !u!1001 &1429243174 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1309454697} + m_Modifications: + - target: {fileID: 4974584046764878105, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_Name + value: PathBlocker (6) + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.x + value: -22.22 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.z + value: -46.76 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.x + value: -0.01799901 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.y + value: 0.17231281 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.z + value: -0.017684456 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.w + value: 0.9847191 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_RootOrder + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: -1.682 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 19.886002 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: -2.3530002 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.z + value: 2.4987495 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.x + value: 2.3048131 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.y + value: 0.37752876 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 65b9ab5277d05de459f2091021e0ee01, type: 3} +--- !u!4 &1429243175 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + m_PrefabInstance: {fileID: 1429243174} + m_PrefabAsset: {fileID: 0} --- !u!1 &1432870191 GameObject: m_ObjectHideFlags: 0 @@ -3718,6 +3845,96 @@ Transform: type: 3} m_PrefabInstance: {fileID: 1512016787} m_PrefabAsset: {fileID: 0} +--- !u!1001 &1516410722 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1309454697} + m_Modifications: + - target: {fileID: 4974584046764878105, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_Name + value: PathBlocker + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.x + value: 28.99 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.z + value: -20.54 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.x + value: -0.02210195 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.y + value: 0.4315394 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.z + value: -0.012173985 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.w + value: 0.90174115 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: -1.682 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 51.183002 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: -2.3530002 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.z + value: 4.502523 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.x + value: 4.153067 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.y + value: 0.68027306 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 65b9ab5277d05de459f2091021e0ee01, type: 3} +--- !u!4 &1516410723 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + m_PrefabInstance: {fileID: 1516410722} + m_PrefabAsset: {fileID: 0} --- !u!1 &1519600966 GameObject: m_ObjectHideFlags: 0 @@ -4206,6 +4423,7 @@ Transform: - {fileID: 1138615643} - {fileID: 2718555727500931745} - {fileID: 2009628691} + - {fileID: 1309454697} m_Father: {fileID: 0} m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -4522,6 +4740,96 @@ Transform: type: 3} m_PrefabInstance: {fileID: 1712419681} m_PrefabAsset: {fileID: 0} +--- !u!1001 &1725548146 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1309454697} + m_Modifications: + - target: {fileID: 4974584046764878105, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_Name + value: PathBlocker (2) + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.x + value: 31.2 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.z + value: -17.31 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.x + value: -0.024163725 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.y + value: 0.35610762 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.z + value: -0.013428156 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.w + value: 0.93403596 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: -2.039 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 41.783 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: -2.426 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.z + value: 4.705138 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.x + value: 4.3399568 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.y + value: 0.7108856 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 65b9ab5277d05de459f2091021e0ee01, type: 3} +--- !u!4 &1725548147 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + m_PrefabInstance: {fileID: 1725548146} + m_PrefabAsset: {fileID: 0} --- !u!1 &1745440399 GameObject: m_ObjectHideFlags: 0 @@ -4897,6 +5205,96 @@ MeshFilter: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1885853177} m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1001 &1899959292 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1309454697} + m_Modifications: + - target: {fileID: 4974584046764878105, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_Name + value: PathBlocker (1) + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.x + value: 33.73 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.z + value: -12.54 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.x + value: -0.012328655 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.y + value: 0.70368004 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.z + value: -0.0063163787 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.w + value: 0.710382 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: -0.49400002 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 89.463005 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: -1.5090001 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.z + value: 5.0725427 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.x + value: 4.6788454 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.y + value: 0.7663956 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 65b9ab5277d05de459f2091021e0ee01, type: 3} +--- !u!4 &1899959293 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + m_PrefabInstance: {fileID: 1899959292} + m_PrefabAsset: {fileID: 0} --- !u!1 &1921606956 GameObject: m_ObjectHideFlags: 0 @@ -5001,6 +5399,186 @@ RectTransform: m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0, y: 0} +--- !u!1001 &1925838388 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1309454697} + m_Modifications: + - target: {fileID: 4974584046764878105, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_Name + value: PathBlocker (3) + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.x + value: -16.29 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.z + value: -42.81 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.x + value: -0.02451277 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.y + value: 0.6518737 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.z + value: -0.0059854332 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.w + value: 0.7579076 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: -1.682 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 81.43201 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: -2.3530002 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.z + value: 4.3278255 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.x + value: 3.9919283 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.y + value: 0.65387845 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 65b9ab5277d05de459f2091021e0ee01, type: 3} +--- !u!4 &1925838389 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + m_PrefabInstance: {fileID: 1925838388} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &1970451856 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1309454697} + m_Modifications: + - target: {fileID: 4974584046764878105, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_Name + value: PathBlocker (5) + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.x + value: -21.92 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.z + value: -38.44 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.x + value: -0.010338902 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.y + value: -0.19744359 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.z + value: -0.023017595 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.w + value: 0.9799895 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_RootOrder + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: -1.682 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -22.748001 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: -2.3530002 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.z + value: 1.8239048 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.x + value: 1.6823454 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.y + value: 0.27556843 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 65b9ab5277d05de459f2091021e0ee01, type: 3} +--- !u!4 &1970451857 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + m_PrefabInstance: {fileID: 1970451856} + m_PrefabAsset: {fileID: 0} --- !u!1 &2009628690 GameObject: m_ObjectHideFlags: 0 @@ -5048,6 +5626,96 @@ MonoBehaviour: type: 3} Player: {fileID: 1484782755} Frequency: 8 +--- !u!1001 &2035828776 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1309454697} + m_Modifications: + - target: {fileID: 4974584046764878105, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_Name + value: PathBlocker (4) + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.x + value: -22.07 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalPosition.z + value: -42.69 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.x + value: -0.014655592 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.y + value: -0.0012523568 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.z + value: -0.02054061 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalRotation.w + value: 0.9996809 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: -1.682 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: -0.109000005 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: -2.3530002 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.z + value: 4.414382 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.x + value: 4.071767 + objectReference: {fileID: 0} + - target: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + propertyPath: m_LocalScale.y + value: 0.666956 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 65b9ab5277d05de459f2091021e0ee01, type: 3} +--- !u!4 &2035828777 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 7234109734831889898, guid: 65b9ab5277d05de459f2091021e0ee01, + type: 3} + m_PrefabInstance: {fileID: 2035828776} + m_PrefabAsset: {fileID: 0} --- !u!1 &2038862783 GameObject: m_ObjectHideFlags: 0 @@ -5804,6 +6472,11 @@ PrefabInstance: propertyPath: Seed value: 2 objectReference: {fileID: 0} + - target: {fileID: 7261715089084362620, guid: 388bb253525fc3a4bab3e1dd21beb08c, + type: 3} + propertyPath: ShowInEditor + value: 0 + objectReference: {fileID: 0} - target: {fileID: 8533006164501396294, guid: 388bb253525fc3a4bab3e1dd21beb08c, type: 3} propertyPath: m_Name @@ -6204,7 +6877,7 @@ PrefabInstance: - target: {fileID: 5133887194504435357, guid: 8cf3939d3cb6e684c8ac9618e68c8259, type: 3} propertyPath: Regen - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 5133887194504435357, guid: 8cf3939d3cb6e684c8ac9618e68c8259, type: 3} @@ -6236,6 +6909,11 @@ PrefabInstance: propertyPath: Destroy value: 0 objectReference: {fileID: 0} + - target: {fileID: 5133887194504435357, guid: 8cf3939d3cb6e684c8ac9618e68c8259, + type: 3} + propertyPath: ShowInEditor + value: 0 + objectReference: {fileID: 0} - target: {fileID: 6166170817692975782, guid: 8cf3939d3cb6e684c8ac9618e68c8259, type: 3} propertyPath: m_LocalPosition.x diff --git a/Assets/Scripts/MeshHider.cs b/Assets/Scripts/MeshHider.cs new file mode 100644 index 0000000..cdaad7c --- /dev/null +++ b/Assets/Scripts/MeshHider.cs @@ -0,0 +1,15 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class MeshHider : MonoBehaviour { + + public bool HideOnPlay; + public MeshRenderer Renderer; + + void Start() { + if (HideOnPlay) { + Renderer.enabled = false; + } + } +} diff --git a/Assets/Scripts/MeshHider.cs.meta b/Assets/Scripts/MeshHider.cs.meta new file mode 100644 index 0000000..2a2464d --- /dev/null +++ b/Assets/Scripts/MeshHider.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 673e6bd2603d0304881fd68d9ff50b29 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: