fix(Tanks): Updated Tanks Example

- Send Rate 30
- NT Multiplier 3
This commit is contained in:
MrGadget 2024-07-21 11:30:44 -04:00
parent 35c1055e24
commit 0bee9bbccb
2 changed files with 40 additions and 61 deletions

View File

@ -28,6 +28,7 @@ Transform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1916082411674582} m_GameObject: {fileID: 1916082411674582}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
@ -36,7 +37,6 @@ Transform:
- {fileID: 5803173220413450940} - {fileID: 5803173220413450940}
- {fileID: 2155495746218491392} - {fileID: 2155495746218491392}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &114118589361100106 --- !u!114 &114118589361100106
MonoBehaviour: MonoBehaviour:
@ -115,7 +115,7 @@ MonoBehaviour:
interpolateRotation: 1 interpolateRotation: 1
interpolateScale: 0 interpolateScale: 0
coordinateSpace: 0 coordinateSpace: 0
sendIntervalMultiplier: 1 sendIntervalMultiplier: 3
timelineOffset: 0 timelineOffset: 0
showGizmos: 0 showGizmos: 0
showOverlay: 0 showOverlay: 0
@ -146,8 +146,7 @@ MonoBehaviour:
turret: {fileID: 5803173220413450936} turret: {fileID: 5803173220413450936}
rotationSpeed: 80 rotationSpeed: 80
shootKey: 32 shootKey: 32
projectilePrefab: {fileID: 5890560936853567077, guid: b7dd46dbf38c643f09e206f9fa4be008, projectilePrefab: {fileID: 5890560936853567077, guid: b7dd46dbf38c643f09e206f9fa4be008, type: 3}
type: 3}
projectileMount: {fileID: 606281948174800110} projectileMount: {fileID: 606281948174800110}
health: 5 health: 5
--- !u!195 &6900008319038825817 --- !u!195 &6900008319038825817
@ -198,13 +197,13 @@ Transform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6882277736259849937} m_GameObject: {fileID: 6882277736259849937}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 5, z: 0} m_LocalPosition: {x: 0, y: 5, z: 0}
m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} m_LocalScale: {x: 0.1, y: 0.1, z: 0.1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 4492442352427800} m_Father: {fileID: 4492442352427800}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!23 &3883687817794100885 --- !u!23 &3883687817794100885
MeshRenderer: MeshRenderer:
@ -223,6 +222,8 @@ MeshRenderer:
m_ReflectionProbeUsage: 1 m_ReflectionProbeUsage: 1
m_RayTracingMode: 2 m_RayTracingMode: 2
m_RayTraceProcedural: 0 m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
@ -287,111 +288,95 @@ PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 2 serializedVersion: 2
m_Modification: m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 4492442352427800} m_TransformParent: {fileID: 4492442352427800}
m_Modifications: m_Modifications:
- target: {fileID: 3638700596990255941, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 3638700596990255941, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_Name propertyPath: m_Name
value: BasePrefab value: BasePrefab
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_LocalPosition.z propertyPath: m_LocalPosition.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_LocalRotation.w propertyPath: m_LocalRotation.w
value: 1 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_LocalRotation.x propertyPath: m_LocalRotation.x
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_LocalRotation.y propertyPath: m_LocalRotation.y
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_LocalRotation.z propertyPath: m_LocalRotation.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_LocalEulerAnglesHint.x propertyPath: m_LocalEulerAnglesHint.x
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_LocalEulerAnglesHint.y propertyPath: m_LocalEulerAnglesHint.y
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_LocalEulerAnglesHint.z propertyPath: m_LocalEulerAnglesHint.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 6314283028393596113, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 6314283028393596113, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_Height propertyPath: m_Height
value: 0.033200573 value: 0.033200573
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 6314283028393596113, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 6314283028393596113, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_Radius propertyPath: m_Radius
value: 0.0014999999 value: 0.0014999999
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 6314283028393596113, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 6314283028393596113, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_Enabled propertyPath: m_Enabled
value: 1 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 6314283028393596113, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 6314283028393596113, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_Center.y propertyPath: m_Center.y
value: 0.018600287 value: 0.018600287
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 6314283028393596113, guid: dad07e68d3659e6439279d0d4110cf4c, - target: {fileID: 6314283028393596113, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
propertyPath: m_Center.z propertyPath: m_Center.z
value: -5.483116e-10 value: -5.483116e-10
objectReference: {fileID: 0} objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3} m_SourcePrefab: {fileID: 100100000, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
--- !u!4 &606281948174800110 stripped --- !u!4 &606281948174800110 stripped
Transform: Transform:
m_CorrespondingSourceObject: {fileID: 7683056980803567927, guid: dad07e68d3659e6439279d0d4110cf4c, m_CorrespondingSourceObject: {fileID: 7683056980803567927, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
m_PrefabInstance: {fileID: 7130959241934869977} m_PrefabInstance: {fileID: 7130959241934869977}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!95 &5803173220405953878 stripped --- !u!95 &5803173220405953878 stripped
Animator: Animator:
m_CorrespondingSourceObject: {fileID: 3638700596980764815, guid: dad07e68d3659e6439279d0d4110cf4c, m_CorrespondingSourceObject: {fileID: 3638700596980764815, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
m_PrefabInstance: {fileID: 7130959241934869977} m_PrefabInstance: {fileID: 7130959241934869977}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!4 &5803173220413450936 stripped --- !u!4 &5803173220413450936 stripped
Transform: Transform:
m_CorrespondingSourceObject: {fileID: 3638700596990361441, guid: dad07e68d3659e6439279d0d4110cf4c, m_CorrespondingSourceObject: {fileID: 3638700596990361441, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
m_PrefabInstance: {fileID: 7130959241934869977} m_PrefabInstance: {fileID: 7130959241934869977}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!4 &5803173220413450940 stripped --- !u!4 &5803173220413450940 stripped
Transform: Transform:
m_CorrespondingSourceObject: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, m_CorrespondingSourceObject: {fileID: 3638700596990361445, guid: dad07e68d3659e6439279d0d4110cf4c, type: 3}
type: 3}
m_PrefabInstance: {fileID: 7130959241934869977} m_PrefabInstance: {fileID: 7130959241934869977}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}

View File

@ -13,7 +13,7 @@ OcclusionCullingSettings:
--- !u!104 &2 --- !u!104 &2
RenderSettings: RenderSettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 9 serializedVersion: 10
m_Fog: 0 m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3 m_FogMode: 3
@ -38,12 +38,12 @@ RenderSettings:
m_ReflectionIntensity: 1 m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0} m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0} m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_UseRadianceAmbientProbe: 0 m_UseRadianceAmbientProbe: 0
--- !u!157 &3 --- !u!157 &3
LightmapSettings: LightmapSettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 12 serializedVersion: 12
m_GIWorkflowMode: 1
m_GISettings: m_GISettings:
serializedVersion: 2 serializedVersion: 2
m_BounceScale: 1 m_BounceScale: 1
@ -66,9 +66,6 @@ LightmapSettings:
m_LightmapParameters: {fileID: 0} m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1 m_LightmapsBakeMode: 1
m_TextureCompression: 1 m_TextureCompression: 1
m_FinalGather: 0
m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 256
m_ReflectionCompression: 2 m_ReflectionCompression: 2
m_MixedBakeMode: 2 m_MixedBakeMode: 2
m_BakeBackend: 0 m_BakeBackend: 0
@ -318,8 +315,7 @@ LightingSettings:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_Name: Settings.lighting m_Name: Settings.lighting
serializedVersion: 6 serializedVersion: 8
m_GIWorkflowMode: 1
m_EnableBakedLightmaps: 0 m_EnableBakedLightmaps: 0
m_EnableRealtimeLightmaps: 0 m_EnableRealtimeLightmaps: 0
m_RealtimeEnvironmentLighting: 1 m_RealtimeEnvironmentLighting: 1
@ -327,8 +323,10 @@ LightingSettings:
m_AlbedoBoost: 1 m_AlbedoBoost: 1
m_IndirectOutputScale: 1 m_IndirectOutputScale: 1
m_UsingShadowmask: 1 m_UsingShadowmask: 1
m_BakeBackend: 0 m_BakeBackend: 1
m_LightmapMaxSize: 1024 m_LightmapMaxSize: 1024
m_LightmapSizeFixed: 0
m_UseMipmapLimits: 1
m_BakeResolution: 40 m_BakeResolution: 40
m_Padding: 2 m_Padding: 2
m_LightmapCompression: 3 m_LightmapCompression: 3
@ -346,9 +344,6 @@ LightingSettings:
m_RealtimeResolution: 2 m_RealtimeResolution: 2
m_ForceWhiteAlbedo: 0 m_ForceWhiteAlbedo: 0
m_ForceUpdates: 0 m_ForceUpdates: 0
m_FinalGather: 0
m_FinalGatherRayCount: 256
m_FinalGatherFiltering: 1
m_PVRCulling: 1 m_PVRCulling: 1
m_PVRSampling: 1 m_PVRSampling: 1
m_PVRDirectSampleCount: 32 m_PVRDirectSampleCount: 32
@ -372,8 +367,6 @@ LightingSettings:
m_PVRFilteringAtrousPositionSigmaDirect: 0.5 m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2 m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1 m_PVRFilteringAtrousPositionSigmaAO: 1
m_PVRTiledBaking: 0
m_NumRaysToShootPerTexel: -1
m_RespectSceneVisibilityWhenBakingGI: 0 m_RespectSceneVisibilityWhenBakingGI: 0
--- !u!1 &1107091652 --- !u!1 &1107091652
GameObject: GameObject:
@ -411,6 +404,8 @@ MeshRenderer:
m_ReflectionProbeUsage: 1 m_ReflectionProbeUsage: 1
m_RayTracingMode: 2 m_RayTracingMode: 2
m_RayTraceProcedural: 0 m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_RenderingLayerMask: 4294967295 m_RenderingLayerMask: 4294967295
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
@ -546,7 +541,7 @@ MonoBehaviour:
runInBackground: 1 runInBackground: 1
headlessStartMode: 1 headlessStartMode: 1
editorAutoStart: 0 editorAutoStart: 0
sendRate: 120 sendRate: 30
autoStartServerBuild: 0 autoStartServerBuild: 0
autoConnectClientBuild: 0 autoConnectClientBuild: 0
offlineScene: offlineScene:
@ -735,9 +730,8 @@ Light:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2054208274} m_GameObject: {fileID: 2054208274}
m_Enabled: 1 m_Enabled: 1
serializedVersion: 10 serializedVersion: 11
m_Type: 1 m_Type: 1
m_Shape: 0
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 1 m_Intensity: 1
m_Range: 10 m_Range: 10