Zatím nedodělané

This commit is contained in:
Haitem 2020-07-13 21:48:15 +02:00
parent 90361a6dff
commit cb44205ec9
21 changed files with 1993 additions and 1036 deletions

View File

@ -12,6 +12,7 @@ GameObject:
- component: {fileID: 1908658187181555171} - component: {fileID: 1908658187181555171}
- component: {fileID: 1402357855717081948} - component: {fileID: 1402357855717081948}
- component: {fileID: -852646611413746892} - component: {fileID: -852646611413746892}
- component: {fileID: -5643608589661246944}
m_Layer: 0 m_Layer: 0
m_Name: Barricade m_Name: Barricade
m_TagString: Spikes m_TagString: Spikes
@ -58,6 +59,9 @@ MonoBehaviour:
- {fileID: 3952444572634493808} - {fileID: 3952444572634493808}
- {fileID: 4850250424701318178} - {fileID: 4850250424701318178}
- {fileID: 9095210850575404026} - {fileID: 9095210850575404026}
pills: {fileID: 0}
prefabPills: {fileID: 0}
spawnPillsPoint: {x: 0, y: 0, z: 0}
audioSource: {fileID: 0} audioSource: {fileID: 0}
doorSound: {fileID: 0} doorSound: {fileID: 0}
--- !u!208 &1402357855717081948 --- !u!208 &1402357855717081948
@ -89,6 +93,39 @@ BoxCollider:
serializedVersion: 2 serializedVersion: 2
m_Size: {x: 1, y: 1.5, z: 1} m_Size: {x: 1, y: 1.5, z: 1}
m_Center: {x: -0.05, y: 0.75, z: 0.5} m_Center: {x: -0.05, y: 0.75, z: 0.5}
--- !u!114 &-5643608589661246944
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1999182813209888360}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f8258ea15b8f74c4889ce485d21cbbb1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SceneId:
m_Value: 0
m_AssetId:
i0: 0
i1: 0
i2: 0
i3: 0
i4: 0
i5: 0
i6: 0
i7: 0
i8: 0
i9: 0
i10: 0
i11: 0
i12: 0
i13: 0
i14: 0
i15: 0
m_ServerOnly: 0
m_LocalPlayerAuthority: 0
--- !u!1001 &8380342326956505725 --- !u!1001 &8380342326956505725
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -14,6 +14,8 @@ GameObject:
- component: {fileID: 5433357422100294214} - component: {fileID: 5433357422100294214}
- component: {fileID: 305547904} - component: {fileID: 305547904}
- component: {fileID: 1130753256873243990} - component: {fileID: 1130753256873243990}
- component: {fileID: -1106775258915780782}
- component: {fileID: -7631853372346646392}
m_Layer: 0 m_Layer: 0
m_Name: Enemy m_Name: Enemy
m_TagString: Enemy m_TagString: Enemy
@ -234,6 +236,61 @@ AudioSource:
m_PreInfinity: 2 m_PreInfinity: 2
m_PostInfinity: 2 m_PostInfinity: 2
m_RotationOrder: 4 m_RotationOrder: 4
--- !u!114 &-1106775258915780782
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3545622996904709018}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f8258ea15b8f74c4889ce485d21cbbb1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SceneId:
m_Value: 0
m_AssetId:
i0: 0
i1: 0
i2: 0
i3: 0
i4: 0
i5: 0
i6: 0
i7: 0
i8: 0
i9: 0
i10: 0
i11: 0
i12: 0
i13: 0
i14: 0
i15: 0
m_ServerOnly: 0
m_LocalPlayerAuthority: 0
--- !u!114 &-7631853372346646392
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3545622996904709018}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 13d6c522af31447398568cc65334232b, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TransformSyncMode: 1
m_SendInterval: 0.1
m_SyncRotationAxis: 7
m_RotationSyncCompression: 0
m_SyncSpin: 0
m_MovementTheshold: 0.001
m_VelocityThreshold: 0.0001
m_SnapThreshold: 5
m_InterpolateRotation: 1
m_InterpolateMovement: 1
--- !u!1001 &3163490712589900750 --- !u!1001 &3163490712589900750
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

File diff suppressed because it is too large Load Diff

View File

@ -11,6 +11,8 @@ GameObject:
- component: {fileID: 2179056336067526864} - component: {fileID: 2179056336067526864}
- component: {fileID: 5029589411118839234} - component: {fileID: 5029589411118839234}
- component: {fileID: -1682145434106595162} - component: {fileID: -1682145434106595162}
- component: {fileID: -4812453449629096291}
- component: {fileID: 324807938290565329}
m_Layer: 0 m_Layer: 0
m_Name: Weapon_1 m_Name: Weapon_1
m_TagString: Untagged m_TagString: Untagged
@ -156,6 +158,61 @@ AudioSource:
m_PreInfinity: 2 m_PreInfinity: 2
m_PostInfinity: 2 m_PostInfinity: 2
m_RotationOrder: 4 m_RotationOrder: 4
--- !u!114 &-4812453449629096291
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2179056336067526865}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f8258ea15b8f74c4889ce485d21cbbb1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SceneId:
m_Value: 0
m_AssetId:
i0: 0
i1: 0
i2: 0
i3: 0
i4: 0
i5: 0
i6: 0
i7: 0
i8: 0
i9: 0
i10: 0
i11: 0
i12: 0
i13: 0
i14: 0
i15: 0
m_ServerOnly: 0
m_LocalPlayerAuthority: 0
--- !u!114 &324807938290565329
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2179056336067526865}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 13d6c522af31447398568cc65334232b, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TransformSyncMode: 1
m_SendInterval: 0.1
m_SyncRotationAxis: 7
m_RotationSyncCompression: 0
m_SyncSpin: 0
m_MovementTheshold: 0.001
m_VelocityThreshold: 0.0001
m_SnapThreshold: 5
m_InterpolateRotation: 1
m_InterpolateMovement: 1
--- !u!1 &4234349944776735638 --- !u!1 &4234349944776735638
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -82,6 +82,8 @@ GameObject:
m_Component: m_Component:
- component: {fileID: 3334427446306061280} - component: {fileID: 3334427446306061280}
- component: {fileID: 1761053192678653939} - component: {fileID: 1761053192678653939}
- component: {fileID: 8355987566146488298}
- component: {fileID: 7274561245174757688}
m_Layer: 0 m_Layer: 0
m_Name: Weapon_2 m_Name: Weapon_2
m_TagString: Meele m_TagString: Meele
@ -128,6 +130,61 @@ MonoBehaviour:
hit: 0 hit: 0
audioSource: {fileID: 0} audioSource: {fileID: 0}
shootSound: [] shootSound: []
--- !u!114 &8355987566146488298
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2587956328074680696}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f8258ea15b8f74c4889ce485d21cbbb1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SceneId:
m_Value: 0
m_AssetId:
i0: 0
i1: 0
i2: 0
i3: 0
i4: 0
i5: 0
i6: 0
i7: 0
i8: 0
i9: 0
i10: 0
i11: 0
i12: 0
i13: 0
i14: 0
i15: 0
m_ServerOnly: 0
m_LocalPlayerAuthority: 0
--- !u!114 &7274561245174757688
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2587956328074680696}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 13d6c522af31447398568cc65334232b, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TransformSyncMode: 1
m_SendInterval: 0.1
m_SyncRotationAxis: 7
m_RotationSyncCompression: 0
m_SyncSpin: 0
m_MovementTheshold: 0.001
m_VelocityThreshold: 0.0001
m_SnapThreshold: 5
m_InterpolateRotation: 1
m_InterpolateMovement: 1
--- !u!1001 &8629712593250585003 --- !u!1001 &8629712593250585003
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -133,6 +133,8 @@ GameObject:
- component: {fileID: 3983516630253985952} - component: {fileID: 3983516630253985952}
- component: {fileID: 5631586117258678227} - component: {fileID: 5631586117258678227}
- component: {fileID: 927444460630549385} - component: {fileID: 927444460630549385}
- component: {fileID: -6848633620688181860}
- component: {fileID: -8001563178278330599}
m_Layer: 0 m_Layer: 0
m_Name: Weapon_3 m_Name: Weapon_3
m_TagString: Untagged m_TagString: Untagged
@ -279,6 +281,61 @@ AudioSource:
m_PreInfinity: 2 m_PreInfinity: 2
m_PostInfinity: 2 m_PostInfinity: 2
m_RotationOrder: 4 m_RotationOrder: 4
--- !u!114 &-6848633620688181860
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7279375804173823597}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f8258ea15b8f74c4889ce485d21cbbb1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SceneId:
m_Value: 0
m_AssetId:
i0: 0
i1: 0
i2: 0
i3: 0
i4: 0
i5: 0
i6: 0
i7: 0
i8: 0
i9: 0
i10: 0
i11: 0
i12: 0
i13: 0
i14: 0
i15: 0
m_ServerOnly: 0
m_LocalPlayerAuthority: 0
--- !u!114 &-8001563178278330599
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7279375804173823597}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 13d6c522af31447398568cc65334232b, type: 3}
m_Name:
m_EditorClassIdentifier:
m_TransformSyncMode: 1
m_SendInterval: 0.1
m_SyncRotationAxis: 7
m_RotationSyncCompression: 0
m_SyncSpin: 0
m_MovementTheshold: 0.001
m_VelocityThreshold: 0.0001
m_SnapThreshold: 5
m_InterpolateRotation: 1
m_InterpolateMovement: 1
--- !u!1001 &6913402413332405231 --- !u!1001 &6913402413332405231
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -0,0 +1,82 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3192387890708010329
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2812061959264440291}
- component: {fileID: 1200676484660297798}
- component: {fileID: 3984946451930641548}
m_Layer: 0
m_Name: wending_machine
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2812061959264440291
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3192387890708010329}
m_LocalRotation: {x: -0.49991274, y: -0.50008726, z: -0.49991274, w: 0.50008726}
m_LocalPosition: {x: 7.806511, y: -0.027989946, z: 5.011112}
m_LocalScale: {x: 0.3, y: 0.3, z: 0.3}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: -89.98, y: -90, z: 0}
--- !u!33 &1200676484660297798
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3192387890708010329}
m_Mesh: {fileID: -5495902117074765545, guid: 94e9124decc2308458e44b1cb4a3a953, type: 3}
--- !u!23 &3984946451930641548
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3192387890708010329}
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: -876546973899608171, guid: 94e9124decc2308458e44b1cb4a3a953, type: 3}
- {fileID: -9033468472196382676, guid: 94e9124decc2308458e44b1cb4a3a953, type: 3}
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

View File

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

View File

@ -0,0 +1,433 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 9
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 0
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
m_DefaultReflectionMode: 0
m_DefaultReflectionResolution: 128
m_ReflectionBounces: 1
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 11
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 12
m_Resolution: 2
m_BakeResolution: 40
m_AtlasSize: 1024
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_ExtractAmbientOcclusion: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1
m_TextureCompression: 1
m_FinalGather: 0
m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 256
m_ReflectionCompression: 2
m_MixedBakeMode: 2
m_BakeBackend: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 512
m_PVRBounces: 2
m_PVREnvironmentSampleCount: 256
m_PVREnvironmentReferencePointCount: 2048
m_PVRFilteringMode: 1
m_PVRDenoiserTypeDirect: 1
m_PVRDenoiserTypeIndirect: 1
m_PVRDenoiserTypeAO: 1
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVREnvironmentMIS: 1
m_PVRCulling: 1
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_UseShadowmask: 1
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
minRegionArea: 2
manualCellSize: 0
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
accuratePlacement: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &586364705
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 586364707}
- component: {fileID: 586364706}
m_Layer: 0
m_Name: Directional Light
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!108 &586364706
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 586364705}
m_Enabled: 1
serializedVersion: 10
m_Type: 1
m_Shape: 0
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
m_Intensity: 1
m_Range: 10
m_SpotAngle: 30
m_InnerSpotAngle: 21.80208
m_CookieSize: 10
m_Shadows:
m_Type: 2
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_CullingMatrixOverride:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_UseCullingMatrixOverride: 0
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingLayerMask: 1
m_Lightmapping: 4
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
m_UseBoundingSphereOverride: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!4 &586364707
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 586364705}
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
m_LocalPosition: {x: 0, y: 3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1 &603318796
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 603318799}
- component: {fileID: 603318798}
- component: {fileID: 603318797}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!81 &603318797
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 603318796}
m_Enabled: 1
--- !u!20 &603318798
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 603318796}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 0
orthographic size: 5
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 1
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!4 &603318799
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 603318796}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &936669609
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 936669612}
- component: {fileID: 936669611}
- component: {fileID: 936669610}
m_Layer: 0
m_Name: NetworkManager
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &936669610
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 936669609}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4394a3eef724546f896557197e2d6c44, type: 3}
m_Name:
m_EditorClassIdentifier:
manager: {fileID: 0}
showGUI: 1
offsetX: 0
offsetY: 0
--- !u!114 &936669611
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 936669609}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 10c2fd873b12541b392f10ecc4846574, type: 3}
m_Name:
m_EditorClassIdentifier:
m_NetworkPort: 7777
m_ServerBindToIP: 0
m_ServerBindAddress:
m_NetworkAddress: localhost
m_DontDestroyOnLoad: 1
m_RunInBackground: 1
m_ScriptCRCCheck: 1
m_MaxDelay: 0.01
m_LogLevel: 2
m_PlayerPrefab: {fileID: 7985979212931499537, guid: 204c7411afdd01a478b1a1e25607d50c,
type: 3}
m_AutoCreatePlayer: 1
m_PlayerSpawnMethod: 1
m_OfflineScene: MenuScene
m_OnlineScene: PlayScene
m_SpawnPrefabs:
- {fileID: 2179056336067526865, guid: 666835f3de085f9409e62598a45208bf, type: 3}
- {fileID: 2587956328074680696, guid: 4ce5febc0b514174abbed9882322d1ed, type: 3}
- {fileID: 7279375804173823597, guid: f7f441e621e5e5f40b11b7617756a0af, type: 3}
- {fileID: 1999182813209888360, guid: 7933df0606f61e94e9008c58a313b22c, type: 3}
m_CustomConfig: 0
m_MaxConnections: 4
m_ConnectionConfig:
m_PacketSize: 1440
m_FragmentSize: 500
m_ResendTimeout: 1200
m_DisconnectTimeout: 2000
m_ConnectTimeout: 2000
m_MinUpdateTimeout: 10
m_PingTimeout: 500
m_ReducedPingTimeout: 100
m_AllCostTimeout: 20
m_NetworkDropThreshold: 5
m_OverflowDropThreshold: 5
m_MaxConnectionAttempt: 10
m_AckDelay: 33
m_SendDelay: 10
m_MaxCombinedReliableMessageSize: 100
m_MaxCombinedReliableMessageCount: 10
m_MaxSentMessageQueueSize: 512
m_AcksType: 1
m_UsePlatformSpecificProtocols: 0
m_InitialBandwidth: 0
m_BandwidthPeakFactor: 2
m_WebSocketReceiveBufferMaxSize: 0
m_UdpSocketReceiveBufferMaxSize: 0
m_SSLCertFilePath:
m_SSLPrivateKeyFilePath:
m_SSLCAFilePath:
m_Channels: []
m_GlobalConfig:
m_ThreadAwakeTimeout: 1
m_ReactorModel: 0
m_ReactorMaximumReceivedMessages: 1024
m_ReactorMaximumSentMessages: 1024
m_MaxPacketSize: 2000
m_MaxHosts: 16
m_ThreadPoolSize: 1
m_MinTimerTimeout: 1
m_MaxTimerTimeout: 12000
m_MinNetSimulatorTimeout: 1
m_MaxNetSimulatorTimeout: 12000
m_Channels:
m_UseWebSockets: 0
m_UseSimulator: 0
m_SimulatedLatency: 1
m_PacketLossPercentage: 0
m_MaxBufferedPackets: 16
m_AllowFragmentation: 1
m_MatchHost: mm.unet.unity3d.com
m_MatchPort: 443
matchName: default
matchSize: 4
isNetworkActive: 0
matchMaker: {fileID: 0}
--- !u!4 &936669612
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 936669609}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 7.438138, y: 2.0852757, z: 0.5215615}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -386,6 +386,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0 m_RaycastTarget: 0
m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
@ -423,7 +424,7 @@ MeshCollider:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_IsTrigger: 0 m_IsTrigger: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 3 serializedVersion: 4
m_Convex: 0 m_Convex: 0
m_CookingOptions: 30 m_CookingOptions: 30
m_Mesh: {fileID: 4493585093827132993, guid: b5a9b7f0ff35a024b974960e652c8e33, type: 3} m_Mesh: {fileID: 4493585093827132993, guid: b5a9b7f0ff35a024b974960e652c8e33, type: 3}
@ -629,6 +630,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0 m_RaycastTarget: 0
m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
@ -994,7 +996,7 @@ MeshCollider:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_IsTrigger: 0 m_IsTrigger: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 3 serializedVersion: 4
m_Convex: 0 m_Convex: 0
m_CookingOptions: 30 m_CookingOptions: 30
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
@ -1166,6 +1168,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1} m_Color: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1}
m_RaycastTarget: 0 m_RaycastTarget: 0
m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
@ -1270,6 +1273,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1} m_Color: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1}
m_RaycastTarget: 0 m_RaycastTarget: 0
m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
@ -6417,6 +6421,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0 m_RaycastTarget: 0
m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
@ -6543,7 +6548,7 @@ MeshCollider:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_IsTrigger: 0 m_IsTrigger: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 3 serializedVersion: 4
m_Convex: 1 m_Convex: 1
m_CookingOptions: 30 m_CookingOptions: 30
m_Mesh: {fileID: -5495902117074765545, guid: 01af5eaeb15b4cf469b3d5c80775fd22, type: 3} m_Mesh: {fileID: -5495902117074765545, guid: 01af5eaeb15b4cf469b3d5c80775fd22, type: 3}
@ -6647,6 +6652,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0 m_RaycastTarget: 0
m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
@ -6871,7 +6877,7 @@ MeshCollider:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_IsTrigger: 0 m_IsTrigger: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 3 serializedVersion: 4
m_Convex: 0 m_Convex: 0
m_CookingOptions: 30 m_CookingOptions: 30
m_Mesh: {fileID: -5495902117074765545, guid: ec72b044b4a1b8848bcd8dec5bfb74f5, type: 3} m_Mesh: {fileID: -5495902117074765545, guid: ec72b044b4a1b8848bcd8dec5bfb74f5, type: 3}
@ -6927,6 +6933,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0.5294118} m_Color: {r: 1, g: 1, b: 1, a: 0.5294118}
m_RaycastTarget: 0 m_RaycastTarget: 0
m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
@ -7191,7 +7198,7 @@ MeshCollider:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_IsTrigger: 0 m_IsTrigger: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 3 serializedVersion: 4
m_Convex: 0 m_Convex: 0
m_CookingOptions: 30 m_CookingOptions: 30
m_Mesh: {fileID: -5495902117074765545, guid: b5a9b7f0ff35a024b974960e652c8e33, type: 3} m_Mesh: {fileID: -5495902117074765545, guid: b5a9b7f0ff35a024b974960e652c8e33, type: 3}
@ -7719,6 +7726,7 @@ MonoBehaviour:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0 m_RaycastTarget: 0
m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []

View File

@ -1,8 +1,9 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.Networking;
public class BlockManager : MonoBehaviour public class BlockManager : NetworkBehaviour
{ {
public enum BlockType {None, Barricade, Door, Wood, Ammo, FireCamp, Pills}; public enum BlockType {None, Barricade, Door, Wood, Ammo, FireCamp, Pills};
public BlockType blockType = BlockType.None; public BlockType blockType = BlockType.None;

View File

@ -2,8 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.AI; using UnityEngine.AI;
using UnityEngine.Networking;
public class EnemyManager : MonoBehaviour public class EnemyManager : NetworkBehaviour
{ {
public float health = 100; public float health = 100;
public float damage = 10; public float damage = 10;
@ -32,6 +33,10 @@ public class EnemyManager : MonoBehaviour
// Update is called once per frame // Update is called once per frame
void Update() void Update()
{ {
if (!isServer)
{
return;
}
DropBodyPart(); DropBodyPart();
if (actualHealth <= 0) if (actualHealth <= 0)
{ {
@ -59,6 +64,10 @@ public class EnemyManager : MonoBehaviour
void FixedUpdate() void FixedUpdate()
{ {
if (!isServer)
{
return;
}
if (actualHealth > 0 && barricadeManager == null) if (actualHealth > 0 && barricadeManager == null)
{ {
Vector3 _dir = player.transform.position - transform.position; Vector3 _dir = player.transform.position - transform.position;

View File

@ -2,8 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
using UnityEngine.Networking;
public class GuiManager : MonoBehaviour public class GuiManager : NetworkBehaviour
{ {
public GameObject InteractIcon; public GameObject InteractIcon;
public Text Wood; public Text Wood;

View File

@ -1,8 +1,9 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.Networking;
public class MusicManager : MonoBehaviour public class MusicManager : NetworkBehaviour
{ {
public AudioSource musicSource; public AudioSource musicSource;
public AudioClip DayMusic; public AudioClip DayMusic;
@ -13,12 +14,20 @@ public class MusicManager : MonoBehaviour
// Start is called before the first frame update // Start is called before the first frame update
void Start() void Start()
{ {
if (!isLocalPlayer)
{
return;
}
musicSource.PlayOneShot(DayMusic); musicSource.PlayOneShot(DayMusic);
} }
// Update is called once per frame // Update is called once per frame
void Update() void Update()
{ {
if (!isLocalPlayer)
{
return;
}
float sunRotationX = Sun.transform.localEulerAngles.x; float sunRotationX = Sun.transform.localEulerAngles.x;
sunRotationX = (sunRotationX > 180) ? sunRotationX - 360 : sunRotationX; sunRotationX = (sunRotationX > 180) ? sunRotationX - 360 : sunRotationX;

View File

@ -1,9 +1,10 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.SceneManagement; using UnityEngine.SceneManagement;
public class PlayerManager : MonoBehaviour public class PlayerManager : NetworkBehaviour
{ {
public float speed = 8; public float speed = 8;
@ -20,6 +21,7 @@ public class PlayerManager : MonoBehaviour
public int barricadeMaterials = 50; public int barricadeMaterials = 50;
public int ammo = 50; public int ammo = 50;
public List<GameObject> weaponList = new List<GameObject>(); public List<GameObject> weaponList = new List<GameObject>();
public GameObject player;
private GameObject createWeapon; private GameObject createWeapon;
public GameObject spikes; public GameObject spikes;
public Sprite spikesImage; public Sprite spikesImage;
@ -42,6 +44,14 @@ public class PlayerManager : MonoBehaviour
buildTime = buildRate; buildTime = buildRate;
playerCamera = GetComponentInChildren<Camera>(); playerCamera = GetComponentInChildren<Camera>();
rigidBody = GetComponent<Rigidbody>(); rigidBody = GetComponent<Rigidbody>();
if (isLocalPlayer)
{
player.SetActive(false);
}
else
{
GetComponentInChildren<Camera>().enabled = false;
}
Cursor.lockState = CursorLockMode.Locked; Cursor.lockState = CursorLockMode.Locked;
Cursor.visible = false; Cursor.visible = false;
} }
@ -49,6 +59,10 @@ public class PlayerManager : MonoBehaviour
// Update is called once per frame // Update is called once per frame
void Update() void Update()
{ {
if (!isLocalPlayer)
{
return;
}
if (Input.GetKeyDown(KeyCode.Escape)) if (Input.GetKeyDown(KeyCode.Escape))
{ {
Application.Quit(0); Application.Quit(0);
@ -59,7 +73,7 @@ public class PlayerManager : MonoBehaviour
RunSwitch(); RunSwitch();
SelectWeapon(); SelectWeapon();
Interact(); Interact();
if (actualHealth <= 0) if (actualHealth <= 0)
{ {
if (audio != null && lose != null && (nextMapeTime2 + 1) <= Time.time) if (audio != null && lose != null && (nextMapeTime2 + 1) <= Time.time)
@ -73,7 +87,8 @@ public class PlayerManager : MonoBehaviour
audio.PlayOneShot(lose); audio.PlayOneShot(lose);
nextMapeTime2 = nextMapeTime + Time.time; nextMapeTime2 = nextMapeTime + Time.time;
} }
if (nextMapeTime2 <= Time.time) { if (nextMapeTime2 <= Time.time)
{
SceneManager.LoadScene(SceneManager.GetActiveScene().name, LoadSceneMode.Single); SceneManager.LoadScene(SceneManager.GetActiveScene().name, LoadSceneMode.Single);
} }
} }
@ -84,6 +99,10 @@ public class PlayerManager : MonoBehaviour
void FixedUpdate() void FixedUpdate()
{ {
if (!isLocalPlayer)
{
return;
}
Rotate(); Rotate();
} }
@ -153,12 +172,12 @@ public class PlayerManager : MonoBehaviour
WeaponManager weaponManager = weaponList[selectedWeapon].GetComponent<WeaponManager>(); WeaponManager weaponManager = weaponList[selectedWeapon].GetComponent<WeaponManager>();
if (weaponManager != null) { if (weaponManager != null) {
weaponManager.player = this; weaponManager.player = this;
Debug.Log(weaponList.Count);
if (Input.GetAxis("Mouse ScrollWheel") > 0 && selectTime < Time.time) if (Input.GetAxis("Mouse ScrollWheel") > 0 && selectTime < Time.time)
{ {
if (weaponManager != null && createWeapon != null) if (weaponManager != null && createWeapon != null)
{ {
Destroy(createWeapon); Destroy(this.createWeapon);
CmdDestroyWeapon(createWeapon);
} }
} }
else if (Input.GetAxis("Mouse ScrollWheel") < 0 && selectTime < Time.time) else if (Input.GetAxis("Mouse ScrollWheel") < 0 && selectTime < Time.time)
@ -166,15 +185,17 @@ public class PlayerManager : MonoBehaviour
if (weaponManager != null && createWeapon != null) if (weaponManager != null && createWeapon != null)
{ {
Destroy(createWeapon); Destroy(createWeapon);
CmdDestroyWeapon(createWeapon);
} }
} }
weaponManager.player = this; weaponManager.player = this;
if (weaponManager != null && createWeapon == null) if (weaponManager != null && createWeapon == null)
{ {
createWeapon = Instantiate(weaponList[selectedWeapon]) as GameObject; this.createWeapon = Instantiate(weaponList[selectedWeapon]) as GameObject;
createWeapon.transform.parent = playerCamera.transform; this.createWeapon.transform.parent = this.playerCamera.transform;
createWeapon.transform.localPosition = Vector3.zero; this.createWeapon.transform.localPosition = Vector3.zero;
createWeapon.transform.localEulerAngles = Vector3.zero; this.createWeapon.transform.localEulerAngles = Vector3.zero;
CmdSpawnWeapon(createWeapon);
} }
} }
if (Input.GetAxis("Mouse ScrollWheel") > 0 && selectTime < Time.time) if (Input.GetAxis("Mouse ScrollWheel") > 0 && selectTime < Time.time)
@ -204,6 +225,18 @@ public class PlayerManager : MonoBehaviour
} }
} }
[Command]
void CmdSpawnWeapon(GameObject createWeapon2)
{
NetworkServer.Spawn(createWeapon2);
}
[Command]
void CmdDestroyWeapon(GameObject createWeapon2)
{
NetworkServer.Destroy(createWeapon2);
}
void Interact() void Interact()
{ {
Ray ray = playerCamera.ScreenPointToRay(Input.mousePosition); Ray ray = playerCamera.ScreenPointToRay(Input.mousePosition);

View File

@ -3,6 +3,7 @@
"com.unity.collab-proxy": "1.2.16", "com.unity.collab-proxy": "1.2.16",
"com.unity.ide.rider": "1.1.4", "com.unity.ide.rider": "1.1.4",
"com.unity.ide.vscode": "1.2.1", "com.unity.ide.vscode": "1.2.1",
"com.unity.multiplayer-hlapi": "1.0.6",
"com.unity.postprocessing": "2.3.0", "com.unity.postprocessing": "2.3.0",
"com.unity.test-framework": "1.1.14", "com.unity.test-framework": "1.1.14",
"com.unity.textmeshpro": "2.0.1", "com.unity.textmeshpro": "2.0.1",

View File

@ -30,6 +30,15 @@
"dependencies": {}, "dependencies": {},
"url": "https://packages.unity.com" "url": "https://packages.unity.com"
}, },
"com.unity.multiplayer-hlapi": {
"version": "1.0.6",
"depth": 0,
"source": "registry",
"dependencies": {
"nuget.mono-cecil": "0.1.6-preview"
},
"url": "https://packages.unity.com"
},
"com.unity.postprocessing": { "com.unity.postprocessing": {
"version": "2.3.0", "version": "2.3.0",
"depth": 0, "depth": 0,
@ -72,6 +81,13 @@
"com.unity.modules.ui": "1.0.0" "com.unity.modules.ui": "1.0.0"
} }
}, },
"nuget.mono-cecil": {
"version": "0.1.6-preview",
"depth": 1,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.modules.ai": { "com.unity.modules.ai": {
"version": "1.0.0", "version": "1.0.0",
"depth": 0, "depth": 0,

View File

@ -5,6 +5,9 @@ EditorBuildSettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 2 serializedVersion: 2
m_Scenes: m_Scenes:
- enabled: 1
path: Assets/Scenes/MenuScene.unity
guid: 93b4889ad6e03cc43adabc934cacfde3
- enabled: 1 - enabled: 1
path: Assets/Scenes/PlayScene.unity path: Assets/Scenes/PlayScene.unity
guid: 03f1c44c053777842ae209ed02a9a1dc guid: 03f1c44c053777842ae209ed02a9a1dc

View File

@ -4,7 +4,7 @@
QualitySettings: QualitySettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 5 serializedVersion: 5
m_CurrentQuality: 0 m_CurrentQuality: 5
m_QualitySettings: m_QualitySettings:
- serializedVersion: 2 - serializedVersion: 2
name: Very Low name: Very Low
@ -222,17 +222,4 @@ QualitySettings:
resolutionScalingFixedDPIFactor: 1 resolutionScalingFixedDPIFactor: 1
customRenderPipeline: {fileID: 0} customRenderPipeline: {fileID: 0}
excludedTargetPlatforms: [] excludedTargetPlatforms: []
m_PerPlatformDefaultQuality: m_PerPlatformDefaultQuality: {}
Android: 2
Lumin: 5
Nintendo 3DS: 5
Nintendo Switch: 5
PS4: 5
PSP2: 2
Stadia: 5
Standalone: 5
WebGL: 3
Windows Store Apps: 5
XboxOne: 5
iPhone: 2
tvOS: 2