Updated examples to not sync scale (#2661)

Co-authored-by: MrGadget1024 <chris@clevertech.net>
This commit is contained in:
MrGadget 2021-03-20 22:05:07 -04:00 committed by GitHub
parent cd6a4805d7
commit 0c903dabc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 119 additions and 35 deletions

View File

@ -211,6 +211,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
sceneId: 0
serverOnly: 0
visible: 0
m_AssetId:
hasSpawned: 0
--- !u!114 &887491563423388292
@ -231,6 +232,9 @@ MonoBehaviour:
localPositionSensitivity: 0.01
localRotationSensitivity: 0.01
localScaleSensitivity: 0.01
compressRotation: 0
interpolateScale: 0
syncScale: 0
--- !u!143 &8993127209816276930
CharacterController:
m_ObjectHideFlags: 0
@ -294,7 +298,6 @@ MonoBehaviour:
syncMode: 0
syncInterval: 0
characterController: {fileID: 8993127209816276930}
capsuleCollider: {fileID: 1143206540915927667}
moveSpeed: 8
turnSensitivity: 5
maxTurnSpeed: 150

View File

@ -118,6 +118,8 @@ MonoBehaviour:
localRotationSensitivity: 0.01
localScaleSensitivity: 0.01
compressRotation: 1
interpolateScale: 0
syncScale: 0
--- !u!114 &8309506939003697769
MonoBehaviour:
m_ObjectHideFlags: 0

View File

@ -12,8 +12,8 @@ GameObject:
- component: {fileID: 8695142844114820487}
- component: {fileID: 6692327599609520039}
- component: {fileID: 1078519278818213949}
- component: {fileID: 644305951047116972}
- component: {fileID: 3679374677650722848}
- component: {fileID: 644305951047116972}
m_Layer: 0
m_Name: Player
m_TagString: Untagged
@ -99,21 +99,6 @@ MonoBehaviour:
visible: 0
m_AssetId:
hasSpawned: 0
--- !u!114 &644305951047116972
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 449802645721213856}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c482338c8cc6d4a3cba81934c0151972, type: 3}
m_Name:
m_EditorClassIdentifier:
syncMode: 0
syncInterval: 0.1
speed: 5
--- !u!114 &3679374677650722848
MonoBehaviour:
m_ObjectHideFlags: 0
@ -133,3 +118,20 @@ MonoBehaviour:
localRotationSensitivity: 0.01
localScaleSensitivity: 0.01
compressRotation: 1
interpolateScale: 0
syncScale: 0
--- !u!114 &644305951047116972
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 449802645721213856}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c482338c8cc6d4a3cba81934c0151972, type: 3}
m_Name:
m_EditorClassIdentifier:
syncMode: 0
syncInterval: 0.1
speed: 5

View File

@ -50,6 +50,7 @@ SpriteRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
@ -61,6 +62,7 @@ SpriteRenderer:
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
@ -145,7 +147,8 @@ MonoBehaviour:
m_EditorClassIdentifier:
sceneId: 0
serverOnly: 0
m_AssetId: a4b57f17790d9634ea5fd0fe80b214fd
visible: 0
m_AssetId:
hasSpawned: 0
--- !u!114 &114692463781779748
MonoBehaviour:
@ -181,3 +184,6 @@ MonoBehaviour:
localPositionSensitivity: 0.01
localRotationSensitivity: 0.01
localScaleSensitivity: 0.01
compressRotation: 1
interpolateScale: 0
syncScale: 0

View File

@ -147,6 +147,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
sceneId: 0
serverOnly: 0
visible: 0
m_AssetId:
hasSpawned: 0
--- !u!114 &114626868563338794
@ -183,3 +184,6 @@ MonoBehaviour:
localPositionSensitivity: 0.01
localRotationSensitivity: 0.01
localScaleSensitivity: 0.01
compressRotation: 1
interpolateScale: 0
syncScale: 0

View File

@ -166,6 +166,9 @@ MonoBehaviour:
localPositionSensitivity: 0.01
localRotationSensitivity: 0.01
localScaleSensitivity: 0.01
compressRotation: 0
interpolateScale: 0
syncScale: 0
--- !u!114 &-8786580539857106334
MonoBehaviour:
m_ObjectHideFlags: 0

View File

@ -133,6 +133,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
sceneId: 0
serverOnly: 0
visible: 0
m_AssetId:
hasSpawned: 0
--- !u!114 &114720308987319626
@ -168,6 +169,9 @@ MonoBehaviour:
localPositionSensitivity: 0.01
localRotationSensitivity: 0.01
localScaleSensitivity: 0.01
compressRotation: 0
interpolateScale: 0
syncScale: 0
--- !u!143 &143011667059871024
CharacterController:
m_ObjectHideFlags: 0
@ -231,8 +235,6 @@ MonoBehaviour:
syncMode: 0
syncInterval: 0
characterController: {fileID: 143011667059871024}
capsuleCollider: {fileID: 4839740653866577337}
rigidbody3d: {fileID: 1849877933717427647}
moveSpeed: 8
turnSensitivity: 5
maxTurnSpeed: 150

View File

@ -50,6 +50,7 @@ SpriteRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
@ -61,6 +62,7 @@ SpriteRenderer:
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
@ -143,9 +145,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9b91ecbcc199f4492b9a91e820070131, type: 3}
m_Name:
m_EditorClassIdentifier:
sceneId: 0
serverOnly: 0
visible: 0
m_AssetId:
m_SceneId: 0
hasSpawned: 0
--- !u!114 &114692463781779748
MonoBehaviour:
m_ObjectHideFlags: 0
@ -176,8 +180,10 @@ MonoBehaviour:
m_EditorClassIdentifier:
syncMode: 0
syncInterval: 0
compressRotation: 1
clientAuthority: 0
localPositionSensitivity: 0.01
localEulerAnglesSensitivity: 0.01
localRotationSensitivity: 0.01
localScaleSensitivity: 0.01
compressRotation: 1
interpolateScale: 0
syncScale: 0

View File

@ -50,6 +50,7 @@ SpriteRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
@ -61,6 +62,7 @@ SpriteRenderer:
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
@ -143,9 +145,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9b91ecbcc199f4492b9a91e820070131, type: 3}
m_Name:
m_EditorClassIdentifier:
sceneId: 0
serverOnly: 0
visible: 0
m_AssetId:
m_SceneId: 0
hasSpawned: 0
--- !u!114 &114626868563338794
MonoBehaviour:
m_ObjectHideFlags: 0
@ -176,8 +180,10 @@ MonoBehaviour:
m_EditorClassIdentifier:
syncMode: 0
syncInterval: 0
compressRotation: 1
clientAuthority: 1
localPositionSensitivity: 0.01
localEulerAnglesSensitivity: 0.01
localRotationSensitivity: 0.01
localScaleSensitivity: 0.01
compressRotation: 1
interpolateScale: 0
syncScale: 0

View File

@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.44657868, g: 0.49641263, b: 0.57481706, a: 1}
m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@ -54,7 +54,7 @@ LightmapSettings:
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 1
m_LightmapEditorSettings:
serializedVersion: 10
serializedVersion: 12
m_Resolution: 2
m_BakeResolution: 40
m_AtlasSize: 1024
@ -62,6 +62,7 @@ LightmapSettings:
m_AOMaxDistance: 1
m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_ExtractAmbientOcclusion: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1
@ -76,10 +77,16 @@ LightmapSettings:
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 500
m_PVRBounces: 2
m_PVREnvironmentSampleCount: 500
m_PVREnvironmentReferencePointCount: 2048
m_PVRFilteringMode: 2
m_PVRDenoiserTypeDirect: 0
m_PVRDenoiserTypeIndirect: 0
m_PVRDenoiserTypeAO: 0
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVRFilteringMode: 2
m_PVREnvironmentMIS: 0
m_PVRCulling: 1
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
@ -87,7 +94,9 @@ LightmapSettings:
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ShowResolutionOverlay: 1
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_UseShadowmask: 1
--- !u!196 &4
@ -141,7 +150,7 @@ MeshCollider:
m_Material: {fileID: 13400000, guid: df195ce493ed09b4c929f832263ba617, type: 2}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 3
serializedVersion: 4
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
@ -159,6 +168,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
@ -170,6 +180,7 @@ MeshRenderer:
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
@ -258,9 +269,9 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
dontDestroyOnLoad: 1
PersistNetworkManagerToOfflineScene: 0
runInBackground: 1
autoStartServerBuild: 1
showDebugMessages: 0
serverTickRate: 30
serverBatching: 0
serverBatchInterval: 0
@ -438,6 +449,9 @@ MonoBehaviour:
localPositionSensitivity: 0.01
localRotationSensitivity: 0.01
localScaleSensitivity: 0.01
compressRotation: 1
interpolateScale: 0
syncScale: 0
--- !u!114 &1019217378
MonoBehaviour:
m_ObjectHideFlags: 0
@ -452,6 +466,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
sceneId: 4215798323
serverOnly: 0
visible: 0
m_AssetId:
hasSpawned: 0
--- !u!54 &1019217379
@ -497,6 +512,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
@ -508,6 +524,7 @@ MeshRenderer:
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
@ -567,12 +584,14 @@ Light:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1021102841}
m_Enabled: 1
serializedVersion: 8
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
@ -582,6 +601,24 @@ Light:
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}
@ -589,12 +626,15 @@ Light:
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 &1021102843
@ -691,6 +731,9 @@ MonoBehaviour:
localPositionSensitivity: 0.01
localRotationSensitivity: 0.01
localScaleSensitivity: 0.01
compressRotation: 1
interpolateScale: 0
syncScale: 0
--- !u!114 &1200292994
MonoBehaviour:
m_ObjectHideFlags: 0
@ -705,6 +748,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
sceneId: 707906828
serverOnly: 0
visible: 0
m_AssetId:
hasSpawned: 0
--- !u!54 &1200292995
@ -750,6 +794,7 @@ MeshRenderer:
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
@ -761,6 +806,7 @@ MeshRenderer:
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
@ -1055,9 +1101,10 @@ Camera:
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_GateFitMode: 2
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2

View File

@ -132,6 +132,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
sceneId: 0
serverOnly: 0
visible: 0
m_AssetId:
hasSpawned: 0
--- !u!114 &114265392388239132
@ -152,6 +153,9 @@ MonoBehaviour:
localPositionSensitivity: 0.01
localRotationSensitivity: 0.01
localScaleSensitivity: 0.01
compressRotation: 0
interpolateScale: 0
syncScale: 0
--- !u!143 &143011667059871024
CharacterController:
m_ObjectHideFlags: 0
@ -215,7 +219,6 @@ MonoBehaviour:
syncMode: 0
syncInterval: 0
characterController: {fileID: 143011667059871024}
capsuleCollider: {fileID: 6799120071495980942}
moveSpeed: 8
turnSensitivity: 5
maxTurnSpeed: 150