fix: Tanks demo: remove tank prefab spotlight causing visual glitches

This commit is contained in:
vis2k 2022-09-17 16:27:30 +08:00
parent 18abba3506
commit 5c04b84108

View File

@ -33,6 +33,7 @@ Transform:
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}
m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 7831918942946891954} - {fileID: 7831918942946891954}
- {fileID: 4116800716706440423} - {fileID: 4116800716706440423}
@ -71,22 +72,25 @@ MonoBehaviour:
syncMode: 0 syncMode: 0
syncInterval: 0.1 syncInterval: 0.1
clientAuthority: 1 clientAuthority: 1
sendInterval: 0.05 sendRate: 30
syncPosition: 1
syncRotation: 1
syncScale: 0
interpolatePosition: 1
interpolateRotation: 1
interpolateScale: 0
bufferTimeMultiplier: 1 bufferTimeMultiplier: 1
bufferSizeLimit: 64 bufferSizeLimit: 64
catchupThreshold: 4 catchupNegativeThreshold: -1
catchupMultiplier: 0.1 catchupPositiveThreshold: 1
catchupSpeed: 0.009999999776482582
slowdownSpeed: 0.009999999776482582
driftEmaDuration: 1
dynamicAdjustment: 1
dynamicAdjustmentTolerance: 1
deliveryTimeEmaDuration: 2
onlySyncOnChange: 1 onlySyncOnChange: 1
bufferResetMultiplier: 5 bufferResetMultiplier: 5
positionSensitivity: 0.01 positionSensitivity: 0.01
rotationSensitivity: 0.01 rotationSensitivity: 0.01
scaleSensitivity: 0.01 scaleSensitivity: 0.01
syncPosition: 1
syncRotation: 1
syncScale: 0
showGizmos: 0 showGizmos: 0
showOverlay: 0 showOverlay: 0
overlayColor: {r: 0, g: 0, b: 0, a: 0.5} overlayColor: {r: 0, g: 0, b: 0, a: 0.5}
@ -105,22 +109,25 @@ MonoBehaviour:
syncMode: 0 syncMode: 0
syncInterval: 0.1 syncInterval: 0.1
clientAuthority: 1 clientAuthority: 1
sendInterval: 0.05 sendRate: 30
syncPosition: 0
syncRotation: 1
syncScale: 0
interpolatePosition: 0
interpolateRotation: 1
interpolateScale: 0
bufferTimeMultiplier: 0 bufferTimeMultiplier: 0
bufferSizeLimit: 64 bufferSizeLimit: 64
catchupThreshold: 3 catchupNegativeThreshold: -1
catchupMultiplier: 0.1 catchupPositiveThreshold: 1
catchupSpeed: 0.009999999776482582
slowdownSpeed: 0.009999999776482582
driftEmaDuration: 1
dynamicAdjustment: 1
dynamicAdjustmentTolerance: 1
deliveryTimeEmaDuration: 2
onlySyncOnChange: 1 onlySyncOnChange: 1
bufferResetMultiplier: 5 bufferResetMultiplier: 5
positionSensitivity: 0.01 positionSensitivity: 0.01
rotationSensitivity: 0.01 rotationSensitivity: 0.01
scaleSensitivity: 0.01 scaleSensitivity: 0.01
syncPosition: 0
syncRotation: 1
syncScale: 0
showGizmos: 0 showGizmos: 0
showOverlay: 0 showOverlay: 0
overlayColor: {r: 0, g: 0, b: 0, a: 0.5} overlayColor: {r: 0, g: 0, b: 0, a: 0.5}
@ -151,7 +158,7 @@ MonoBehaviour:
health: 4 health: 4
--- !u!95 &2240606817507776182 --- !u!95 &2240606817507776182
Animator: Animator:
serializedVersion: 3 serializedVersion: 4
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
@ -164,6 +171,7 @@ Animator:
m_UpdateMode: 0 m_UpdateMode: 0
m_ApplyRootMotion: 0 m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0 m_LinearVelocityBlending: 0
m_StabilizeFeet: 0
m_WarningMessage: m_WarningMessage:
m_HasTransformHierarchy: 1 m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1 m_AllowConstantClipSamplingOptimization: 1
@ -203,99 +211,6 @@ SphereCollider:
serializedVersion: 2 serializedVersion: 2
m_Radius: 0.5 m_Radius: 0.5
m_Center: {x: 0, y: 0.25, z: 0} m_Center: {x: 0, y: 0.25, z: 0}
--- !u!1 &4426914200102054949
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6564220120147636086}
- component: {fileID: 7604806193092689376}
m_Layer: 0
m_Name: Spot Light
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6564220120147636086
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4426914200102054949}
m_LocalRotation: {x: 0.022814991, y: 0.000000119178246, z: -0.0000000027197586,
w: 0.9997397}
m_LocalPosition: {x: 0.00070000027, y: 0.002070647, z: 0.0012600002}
m_LocalScale: {x: 0.01, y: 0.010000003, z: 0.010000002}
m_Children: []
m_Father: {fileID: 7831918942946891958}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 2.615, y: 0, z: 0}
--- !u!108 &7604806193092689376
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4426914200102054949}
m_Enabled: 1
serializedVersion: 10
m_Type: 0
m_Shape: 0
m_Color: {r: 1, g: 0.9205329, b: 0.7877358, a: 1}
m_Intensity: 3
m_Range: 15
m_SpotAngle: 80
m_InnerSpotAngle: 62.1886
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!1 &4730779867780281009 --- !u!1 &4730779867780281009
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -322,6 +237,7 @@ Transform:
m_LocalRotation: {x: -0, y: 0.000000119209275, z: -0, w: 1} m_LocalRotation: {x: -0, y: 0.000000119209275, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0.0015906466, z: 0.009359999} m_LocalPosition: {x: 0, y: 0.0015906466, z: 0.009359999}
m_LocalScale: {x: 0.01, y: 0.010000003, z: 0.010000002} m_LocalScale: {x: 0.01, y: 0.010000003, z: 0.010000002}
m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 7831918942946891958} m_Father: {fileID: 7831918942946891958}
m_RootOrder: 1 m_RootOrder: 1
@ -355,6 +271,7 @@ Transform:
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.8, z: 0} m_LocalPosition: {x: 0, y: 0.8, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 4492442352427800} m_Father: {fileID: 4492442352427800}
m_RootOrder: 1 m_RootOrder: 1
@ -370,10 +287,12 @@ MeshRenderer:
m_CastShadows: 1 m_CastShadows: 1
m_ReceiveShadows: 1 m_ReceiveShadows: 1
m_DynamicOccludee: 1 m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1 m_MotionVectors: 1
m_LightProbeUsage: 1 m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1 m_ReflectionProbeUsage: 1
m_RayTracingMode: 2 m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
@ -398,6 +317,7 @@ MeshRenderer:
m_SortingLayerID: 0 m_SortingLayerID: 0
m_SortingLayer: 0 m_SortingLayer: 0
m_SortingOrder: 0 m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!102 &1985504562751981867 --- !u!102 &1985504562751981867
TextMesh: TextMesh:
serializedVersion: 3 serializedVersion: 3