# Conflicts:
#	Assets/Scenes/BobberTest.unity
#	UserSettings/EditorUserSettings.asset
This commit is contained in:
Bob.Song
2026-03-06 12:16:31 +08:00
283 changed files with 3044 additions and 12634 deletions

View File

@@ -23286,8 +23286,8 @@ MonoBehaviour:
Dependencies: []
Tags:
- Name: main/item.bundle
Hash: 7ddffaa0a08d5e27fba7fad7df9fa94f
Size: 542454050
Hash: 30830b32d82d58c86991dcce49a9ea8e
Size: 542453520
Assets:
- Path: Assets/ResRaw/gfx/baits/black_leech/black_leech.prefab
Address: Item/black_leech
@@ -41553,8 +41553,8 @@ MonoBehaviour:
Dependencies: []
Tags:
- Name: main/plyaer.bundle
Hash: 0765d7b38fb20176d24357d15a00b8f2
Size: 378600019
Hash: bbba633188707d96572ed1a4c0d88e63
Size: 378832435
Assets:
- Path: Assets/ResRaw/Prefabs/Line/fishing line float set.prefab
Address: Plyaer/fishing line float set
@@ -41631,6 +41631,21 @@ MonoBehaviour:
- {fileID: 102900000, guid: aa3f5467c0c153642ac320466aee0ec1, type: 3}
FilterEnum: 0
Filter: '*'
- Path: Assets/ResRaw/Prefabs/Line/Float (4).prefab
Address: Plyaer/Float (4)
Type: GameObject
Bundle: main/plyaer.bundle
Tags:
Group:
Name: Plyaer
Enable: 1
BundleMode: 0
AddressMode: 2
Tags:
Collectors:
- {fileID: 102900000, guid: aa3f5467c0c153642ac320466aee0ec1, type: 3}
FilterEnum: 0
Filter: '*'
- Path: Assets/ResRaw/Prefabs/Line/LineSolver.prefab
Address: Plyaer/LineSolver
Type: GameObject

View File

@@ -186,6 +186,12 @@ MonoBehaviour:
customValue: 100
additiveValue: 0
multiplyValue: 1
sunInitialRotation:
m_OverrideState: 0
m_Value: -Infinity
lockSun:
m_OverrideState: 0
m_Value: 0
enableBackplate:
m_OverrideState: 0
m_Value: 0
@@ -306,6 +312,18 @@ MonoBehaviour:
skyAmbientMode:
m_OverrideState: 0
m_Value: 0
planetRadius:
m_OverrideState: 0
m_Value: 6378.1
renderingSpace:
m_OverrideState: 0
m_Value: 1
centerMode:
m_OverrideState: 0
m_Value: 0
planetCenter:
m_OverrideState: 0
m_Value: {x: 0, y: -6378.1, z: 0}
windOrientation:
m_OverrideState: 0
m_Value: 0
@@ -315,6 +333,7 @@ MonoBehaviour:
fogType:
m_OverrideState: 0
m_Value: 0
m_Version: 1
--- !u!114 &5315503232242033309
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -630,6 +649,7 @@ MonoBehaviour:
m_Name: HDShadowSettings
m_EditorClassIdentifier:
active: 1
interCascadeBorders: 1
maxShadowDistance:
m_OverrideState: 1
m_Value: 150
@@ -650,10 +670,10 @@ MonoBehaviour:
m_Value: 0.3
cascadeShadowBorder0:
m_OverrideState: 1
m_Value: 0.13333334
m_Value: 0.06905067
cascadeShadowBorder1:
m_OverrideState: 1
m_Value: 0.06666666
m_Value: 0.05086228
cascadeShadowBorder2:
m_OverrideState: 0
m_Value: 0

View File

@@ -70,6 +70,9 @@ MonoBehaviour:
sliceDistributionUniformity:
m_OverrideState: 1
m_Value: 0
multipleScatteringIntensity:
m_OverrideState: 0
m_Value: 0
m_FogControlMode:
m_OverrideState: 0
m_Value: 0
@@ -113,6 +116,11 @@ MonoBehaviour:
rayMiss:
m_OverrideState: 0
m_Value: 3
adaptiveProbeVolumesLayerMask:
m_OverrideState: 0
m_Value:
serializedVersion: 0
m_Bits: 1
depthBufferThickness:
m_OverrideState: 1
m_Value: 0.2
@@ -230,18 +238,15 @@ MonoBehaviour:
type:
m_OverrideState: 1
m_Value: 2
sphericalMode:
m_OverrideState: 1
atmosphericScattering:
m_OverrideState: 0
m_Value: 1
seaLevel:
renderingMode:
m_OverrideState: 0
m_Value: 0
planetaryRadius:
m_OverrideState: 1
m_Value: 6378100
planetCenterPosition:
m_OverrideState: 1
m_Value: {x: 0, y: -6378100, z: 0}
material:
m_OverrideState: 0
m_Value: {fileID: 0}
airDensityR:
m_OverrideState: 1
m_Value: 0.04534
@@ -253,7 +258,7 @@ MonoBehaviour:
m_Value: 0.2326406
airTint:
m_OverrideState: 1
m_Value: {r: 0.9019608, g: 0.9019608, b: 1, a: 1}
m_Value: {r: 1, g: 1, b: 1, a: 1}
airMaximumAltitude:
m_OverrideState: 1
m_Value: 55261.97
@@ -269,9 +274,15 @@ MonoBehaviour:
aerosolAnisotropy:
m_OverrideState: 1
m_Value: 0
numberOfBounces:
m_OverrideState: 1
m_Value: 8
ozoneDensityDimmer:
m_OverrideState: 0
m_Value: 1
ozoneMinimumAltitude:
m_OverrideState: 0
m_Value: 20000
ozoneLayerWidth:
m_OverrideState: 0
m_Value: 20000
groundTint:
m_OverrideState: 1
m_Value: {r: 0.94547063, g: 0.83922887, b: 0.78070223, a: 1}
@@ -314,10 +325,16 @@ MonoBehaviour:
horizonZenithShift:
m_OverrideState: 1
m_Value: 0
m_SkyVersion: 1
m_SkyVersion: 2
m_ObsoleteEarthPreset:
m_OverrideState: 1
m_Value: 0
planetaryRadius:
m_OverrideState: 1
m_Value: 6378100
planetCenterPosition:
m_OverrideState: 1
m_Value: {x: 0, y: -6378100, z: 0}
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -372,6 +389,7 @@ MonoBehaviour:
m_Name: HDShadowSettings
m_EditorClassIdentifier:
active: 1
interCascadeBorders: 1
maxShadowDistance:
m_OverrideState: 1
m_Value: 700
@@ -424,6 +442,18 @@ MonoBehaviour:
skyAmbientMode:
m_OverrideState: 1
m_Value: 1
planetRadius:
m_OverrideState: 1
m_Value: 6378.1
renderingSpace:
m_OverrideState: 0
m_Value: 1
centerMode:
m_OverrideState: 0
m_Value: 0
planetCenter:
m_OverrideState: 1
m_Value: {x: 0, y: -6378.1, z: 0}
windOrientation:
m_OverrideState: 0
m_Value: 0
@@ -433,6 +463,7 @@ MonoBehaviour:
fogType:
m_OverrideState: 1
m_Value: 3
m_Version: 1
--- !u!114 &114369445541307930
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -502,6 +533,12 @@ MonoBehaviour:
customValue: 100
additiveValue: 0
multiplyValue: 1
sunInitialRotation:
m_OverrideState: 0
m_Value: -Infinity
lockSun:
m_OverrideState: 0
m_Value: 0
enableBackplate:
m_OverrideState: 0
m_Value: 0
@@ -653,9 +690,9 @@ MonoBehaviour:
m_DenoiserRadius:
m_OverrideState: 0
m_Value: 16
m_AffectSmoothSurfaces:
m_DenoiserAntiFlickeringStrength:
m_OverrideState: 0
m_Value: 0
m_Value: 1
mode:
m_OverrideState: 0
m_Value: 2
@@ -671,6 +708,11 @@ MonoBehaviour:
m_RayMaxIterationsRT:
m_OverrideState: 0
m_Value: 48
adaptiveProbeVolumesLayerMask:
m_OverrideState: 0
m_Value:
serializedVersion: 0
m_Bits: 1
--- !u!114 &114471737410181332
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -1027,6 +1069,9 @@ MonoBehaviour:
sliceDistributionUniformity:
m_OverrideState: 1
m_Value: 1
multipleScatteringIntensity:
m_OverrideState: 0
m_Value: 0
m_FogControlMode:
m_OverrideState: 0
m_Value: 0
@@ -1091,18 +1136,15 @@ MonoBehaviour:
type:
m_OverrideState: 0
m_Value: 1
sphericalMode:
atmosphericScattering:
m_OverrideState: 0
m_Value: 1
seaLevel:
renderingMode:
m_OverrideState: 0
m_Value: 0
planetaryRadius:
m_OverrideState: 1
m_Value: 6378.759
planetCenterPosition:
material:
m_OverrideState: 0
m_Value: {x: 0, y: -6378.759, z: 0}
m_Value: {fileID: 0}
airDensityR:
m_OverrideState: 0
m_Value: 0.04534
@@ -1114,7 +1156,7 @@ MonoBehaviour:
m_Value: 0.23264056
airTint:
m_OverrideState: 0
m_Value: {r: 0.9, g: 0.9, b: 1, a: 1}
m_Value: {r: 1, g: 1, b: 1, a: 1}
airMaximumAltitude:
m_OverrideState: 1
m_Value: 70
@@ -1130,9 +1172,15 @@ MonoBehaviour:
aerosolAnisotropy:
m_OverrideState: 1
m_Value: 0
numberOfBounces:
m_OverrideState: 1
m_Value: 8
ozoneDensityDimmer:
m_OverrideState: 0
m_Value: 1
ozoneMinimumAltitude:
m_OverrideState: 0
m_Value: 20000
ozoneLayerWidth:
m_OverrideState: 0
m_Value: 20000
groundTint:
m_OverrideState: 0
m_Value: {r: 0.4, g: 0.25, b: 0.15, a: 1}
@@ -1175,7 +1223,13 @@ MonoBehaviour:
horizonZenithShift:
m_OverrideState: 0
m_Value: 0
m_SkyVersion: 1
m_SkyVersion: 2
m_ObsoleteEarthPreset:
m_OverrideState: 0
m_Value: 1
planetaryRadius:
m_OverrideState: 1
m_Value: 6378.759
planetCenterPosition:
m_OverrideState: 0
m_Value: {x: 0, y: -6378.759, z: 0}

View File

@@ -70,6 +70,9 @@ MonoBehaviour:
sliceDistributionUniformity:
m_OverrideState: 1
m_Value: 0
multipleScatteringIntensity:
m_OverrideState: 0
m_Value: 0
m_FogControlMode:
m_OverrideState: 0
m_Value: 0
@@ -113,6 +116,11 @@ MonoBehaviour:
rayMiss:
m_OverrideState: 0
m_Value: 3
adaptiveProbeVolumesLayerMask:
m_OverrideState: 0
m_Value:
serializedVersion: 0
m_Bits: 1
depthBufferThickness:
m_OverrideState: 1
m_Value: 0.1
@@ -238,6 +246,7 @@ MonoBehaviour:
m_Name: HDShadowSettings
m_EditorClassIdentifier:
active: 1
interCascadeBorders: 1
maxShadowDistance:
m_OverrideState: 1
m_Value: 700
@@ -290,6 +299,18 @@ MonoBehaviour:
skyAmbientMode:
m_OverrideState: 1
m_Value: 1
planetRadius:
m_OverrideState: 0
m_Value: 6378.1
renderingSpace:
m_OverrideState: 0
m_Value: 1
centerMode:
m_OverrideState: 0
m_Value: 0
planetCenter:
m_OverrideState: 0
m_Value: {x: 0, y: -6378.1, z: 0}
windOrientation:
m_OverrideState: 0
m_Value: 0
@@ -299,6 +320,7 @@ MonoBehaviour:
fogType:
m_OverrideState: 1
m_Value: 3
m_Version: 1
--- !u!114 &114369445541307930
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -368,6 +390,12 @@ MonoBehaviour:
customValue: 100
additiveValue: 0
multiplyValue: 1
sunInitialRotation:
m_OverrideState: 0
m_Value: -Infinity
lockSun:
m_OverrideState: 0
m_Value: 0
enableBackplate:
m_OverrideState: 0
m_Value: 0
@@ -519,9 +547,9 @@ MonoBehaviour:
m_DenoiserRadius:
m_OverrideState: 0
m_Value: 16
m_AffectSmoothSurfaces:
m_DenoiserAntiFlickeringStrength:
m_OverrideState: 0
m_Value: 0
m_Value: 1
mode:
m_OverrideState: 0
m_Value: 2
@@ -537,6 +565,11 @@ MonoBehaviour:
m_RayMaxIterationsRT:
m_OverrideState: 0
m_Value: 48
adaptiveProbeVolumesLayerMask:
m_OverrideState: 0
m_Value:
serializedVersion: 0
m_Bits: 1
--- !u!114 &114471737410181332
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -893,6 +926,9 @@ MonoBehaviour:
sliceDistributionUniformity:
m_OverrideState: 1
m_Value: 0.5
multipleScatteringIntensity:
m_OverrideState: 0
m_Value: 0
m_FogControlMode:
m_OverrideState: 0
m_Value: 0
@@ -957,18 +993,15 @@ MonoBehaviour:
type:
m_OverrideState: 1
m_Value: 1
sphericalMode:
m_OverrideState: 1
atmosphericScattering:
m_OverrideState: 0
m_Value: 1
seaLevel:
renderingMode:
m_OverrideState: 0
m_Value: 0
planetaryRadius:
material:
m_OverrideState: 0
m_Value: 6378100
planetCenterPosition:
m_OverrideState: 0
m_Value: {x: 0, y: -6378100, z: 0}
m_Value: {fileID: 0}
airDensityR:
m_OverrideState: 0
m_Value: 0.04534
@@ -980,7 +1013,7 @@ MonoBehaviour:
m_Value: 0.23264056
airTint:
m_OverrideState: 0
m_Value: {r: 0.9, g: 0.9, b: 1, a: 1}
m_Value: {r: 1, g: 1, b: 1, a: 1}
airMaximumAltitude:
m_OverrideState: 0
m_Value: 55261.973
@@ -996,9 +1029,15 @@ MonoBehaviour:
aerosolAnisotropy:
m_OverrideState: 1
m_Value: 0
numberOfBounces:
ozoneDensityDimmer:
m_OverrideState: 0
m_Value: 8
m_Value: 1
ozoneMinimumAltitude:
m_OverrideState: 0
m_Value: 20000
ozoneLayerWidth:
m_OverrideState: 0
m_Value: 20000
groundTint:
m_OverrideState: 1
m_Value: {r: 0.21698111, g: 0.19883622, b: 0.18768866, a: 1}
@@ -1041,10 +1080,16 @@ MonoBehaviour:
horizonZenithShift:
m_OverrideState: 0
m_Value: 0
m_SkyVersion: 1
m_SkyVersion: 2
m_ObsoleteEarthPreset:
m_OverrideState: 1
m_Value: 1
planetaryRadius:
m_OverrideState: 0
m_Value: 6378100
planetCenterPosition:
m_OverrideState: 0
m_Value: {x: 0, y: -6378100, z: 0}
--- !u!114 &8363329657589183425
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -1091,18 +1136,15 @@ MonoBehaviour:
type:
m_OverrideState: 0
m_Value: 1
sphericalMode:
atmosphericScattering:
m_OverrideState: 0
m_Value: 1
seaLevel:
renderingMode:
m_OverrideState: 0
m_Value: 0
planetaryRadius:
m_OverrideState: 1
m_Value: 6378.759
planetCenterPosition:
material:
m_OverrideState: 0
m_Value: {x: 0, y: -6378.759, z: 0}
m_Value: {fileID: 0}
airDensityR:
m_OverrideState: 0
m_Value: 0.04534
@@ -1114,7 +1156,7 @@ MonoBehaviour:
m_Value: 0.23264056
airTint:
m_OverrideState: 0
m_Value: {r: 0.9, g: 0.9, b: 1, a: 1}
m_Value: {r: 1, g: 1, b: 1, a: 1}
airMaximumAltitude:
m_OverrideState: 1
m_Value: 70
@@ -1130,9 +1172,15 @@ MonoBehaviour:
aerosolAnisotropy:
m_OverrideState: 1
m_Value: 0
numberOfBounces:
m_OverrideState: 1
m_Value: 8
ozoneDensityDimmer:
m_OverrideState: 0
m_Value: 1
ozoneMinimumAltitude:
m_OverrideState: 0
m_Value: 20000
ozoneLayerWidth:
m_OverrideState: 0
m_Value: 20000
groundTint:
m_OverrideState: 0
m_Value: {r: 0.4, g: 0.25, b: 0.15, a: 1}
@@ -1175,7 +1223,13 @@ MonoBehaviour:
horizonZenithShift:
m_OverrideState: 0
m_Value: 0
m_SkyVersion: 1
m_SkyVersion: 2
m_ObsoleteEarthPreset:
m_OverrideState: 0
m_Value: 1
planetaryRadius:
m_OverrideState: 1
m_Value: 6378.759
planetCenterPosition:
m_OverrideState: 0
m_Value: {x: 0, y: -6378.759, z: 0}

View File

@@ -70,6 +70,9 @@ MonoBehaviour:
sliceDistributionUniformity:
m_OverrideState: 1
m_Value: 0
multipleScatteringIntensity:
m_OverrideState: 0
m_Value: 0
m_FogControlMode:
m_OverrideState: 0
m_Value: 0
@@ -134,18 +137,15 @@ MonoBehaviour:
type:
m_OverrideState: 1
m_Value: 2
sphericalMode:
m_OverrideState: 1
atmosphericScattering:
m_OverrideState: 0
m_Value: 1
seaLevel:
renderingMode:
m_OverrideState: 0
m_Value: 0
planetaryRadius:
m_OverrideState: 1
m_Value: 6378100
planetCenterPosition:
m_OverrideState: 1
m_Value: {x: 0, y: -6378100, z: 0}
material:
m_OverrideState: 0
m_Value: {fileID: 0}
airDensityR:
m_OverrideState: 1
m_Value: 0.04534
@@ -157,7 +157,7 @@ MonoBehaviour:
m_Value: 0.2326406
airTint:
m_OverrideState: 1
m_Value: {r: 0.9019608, g: 0.9019608, b: 1, a: 1}
m_Value: {r: 1, g: 1, b: 1, a: 1}
airMaximumAltitude:
m_OverrideState: 1
m_Value: 55261.97
@@ -173,9 +173,15 @@ MonoBehaviour:
aerosolAnisotropy:
m_OverrideState: 1
m_Value: 0
numberOfBounces:
m_OverrideState: 1
m_Value: 8
ozoneDensityDimmer:
m_OverrideState: 0
m_Value: 1
ozoneMinimumAltitude:
m_OverrideState: 0
m_Value: 20000
ozoneLayerWidth:
m_OverrideState: 0
m_Value: 20000
groundTint:
m_OverrideState: 1
m_Value: {r: 0.5872523, g: 0.79400826, b: 0.9591518, a: 1}
@@ -218,10 +224,16 @@ MonoBehaviour:
horizonZenithShift:
m_OverrideState: 1
m_Value: 0
m_SkyVersion: 1
m_SkyVersion: 2
m_ObsoleteEarthPreset:
m_OverrideState: 1
m_Value: 0
planetaryRadius:
m_OverrideState: 1
m_Value: 6378100
planetCenterPosition:
m_OverrideState: 1
m_Value: {x: 0, y: -6378100, z: 0}
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -276,6 +288,7 @@ MonoBehaviour:
m_Name: HDShadowSettings
m_EditorClassIdentifier:
active: 1
interCascadeBorders: 1
maxShadowDistance:
m_OverrideState: 1
m_Value: 700
@@ -328,6 +341,18 @@ MonoBehaviour:
skyAmbientMode:
m_OverrideState: 1
m_Value: 1
planetRadius:
m_OverrideState: 1
m_Value: 6378.1
renderingSpace:
m_OverrideState: 0
m_Value: 1
centerMode:
m_OverrideState: 0
m_Value: 0
planetCenter:
m_OverrideState: 1
m_Value: {x: 0, y: -6378.1, z: 0}
windOrientation:
m_OverrideState: 0
m_Value: 0
@@ -337,6 +362,7 @@ MonoBehaviour:
fogType:
m_OverrideState: 1
m_Value: 3
m_Version: 1
--- !u!114 &114369445541307930
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -406,6 +432,12 @@ MonoBehaviour:
customValue: 100
additiveValue: 0
multiplyValue: 1
sunInitialRotation:
m_OverrideState: 0
m_Value: -Infinity
lockSun:
m_OverrideState: 0
m_Value: 0
enableBackplate:
m_OverrideState: 0
m_Value: 0
@@ -557,9 +589,9 @@ MonoBehaviour:
m_DenoiserRadius:
m_OverrideState: 0
m_Value: 16
m_AffectSmoothSurfaces:
m_DenoiserAntiFlickeringStrength:
m_OverrideState: 0
m_Value: 0
m_Value: 1
mode:
m_OverrideState: 0
m_Value: 2
@@ -575,6 +607,11 @@ MonoBehaviour:
m_RayMaxIterationsRT:
m_OverrideState: 0
m_Value: 48
adaptiveProbeVolumesLayerMask:
m_OverrideState: 0
m_Value:
serializedVersion: 0
m_Bits: 1
--- !u!114 &114471737410181332
MonoBehaviour:
m_ObjectHideFlags: 3
@@ -886,6 +923,11 @@ MonoBehaviour:
rayMiss:
m_OverrideState: 0
m_Value: 3
adaptiveProbeVolumesLayerMask:
m_OverrideState: 0
m_Value:
serializedVersion: 0
m_Bits: 1
depthBufferThickness:
m_OverrideState: 1
m_Value: 0.2
@@ -1027,6 +1069,9 @@ MonoBehaviour:
sliceDistributionUniformity:
m_OverrideState: 1
m_Value: 1
multipleScatteringIntensity:
m_OverrideState: 0
m_Value: 0
m_FogControlMode:
m_OverrideState: 0
m_Value: 0
@@ -1091,18 +1136,15 @@ MonoBehaviour:
type:
m_OverrideState: 0
m_Value: 1
sphericalMode:
atmosphericScattering:
m_OverrideState: 0
m_Value: 1
seaLevel:
renderingMode:
m_OverrideState: 0
m_Value: 0
planetaryRadius:
m_OverrideState: 1
m_Value: 6378.759
planetCenterPosition:
material:
m_OverrideState: 0
m_Value: {x: 0, y: -6378.759, z: 0}
m_Value: {fileID: 0}
airDensityR:
m_OverrideState: 0
m_Value: 0.04534
@@ -1114,7 +1156,7 @@ MonoBehaviour:
m_Value: 0.23264056
airTint:
m_OverrideState: 0
m_Value: {r: 0.9, g: 0.9, b: 1, a: 1}
m_Value: {r: 1, g: 1, b: 1, a: 1}
airMaximumAltitude:
m_OverrideState: 1
m_Value: 70
@@ -1130,9 +1172,15 @@ MonoBehaviour:
aerosolAnisotropy:
m_OverrideState: 1
m_Value: 0
numberOfBounces:
m_OverrideState: 1
m_Value: 8
ozoneDensityDimmer:
m_OverrideState: 0
m_Value: 1
ozoneMinimumAltitude:
m_OverrideState: 0
m_Value: 20000
ozoneLayerWidth:
m_OverrideState: 0
m_Value: 20000
groundTint:
m_OverrideState: 0
m_Value: {r: 0.4, g: 0.25, b: 0.15, a: 1}
@@ -1175,7 +1223,13 @@ MonoBehaviour:
horizonZenithShift:
m_OverrideState: 0
m_Value: 0
m_SkyVersion: 1
m_SkyVersion: 2
m_ObsoleteEarthPreset:
m_OverrideState: 0
m_Value: 1
planetaryRadius:
m_OverrideState: 1
m_Value: 6378.759
planetCenterPosition:
m_OverrideState: 0
m_Value: {x: 0, y: -6378.759, z: 0}

View File

@@ -22,6 +22,18 @@ MonoBehaviour:
skyAmbientMode:
m_OverrideState: 0
m_Value: 1
planetRadius:
m_OverrideState: 0
m_Value: 6378.1
renderingSpace:
m_OverrideState: 0
m_Value: 1
centerMode:
m_OverrideState: 0
m_Value: 0
planetCenter:
m_OverrideState: 0
m_Value: {x: 0, y: -6378.1, z: 0}
windOrientation:
m_OverrideState: 0
m_Value: 0
@@ -31,6 +43,7 @@ MonoBehaviour:
fogType:
m_OverrideState: 0
m_Value: 0
m_Version: 1
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0

View File

@@ -26,7 +26,7 @@ RenderSettings:
m_AmbientIntensity: 0.8050667
m_AmbientMode: 0
m_SubtractiveShadowColor: {r: 0.8679245, g: 0.8679245, b: 0.8679245, a: 1}
m_SkyboxMaterial: {fileID: 16041075}
m_SkyboxMaterial: {fileID: 1948842527}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
@@ -119,54 +119,6 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!21 &16041075
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Enviro/Skybox
m_Shader: {fileID: 4800000, guid: 34fee0a1b19b20b45aea7483b5f757da, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _GalaxyTex:
m_Texture: {fileID: 8900000, guid: 5734983fc81450b4187c3cfa5985edef, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MoonGlowTex:
m_Texture: {fileID: 2800000, guid: 6838e0810da4e49488b5d9a6ee76eb07, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MoonTex:
m_Texture: {fileID: 2800000, guid: c6fd9f694390e0245b6dca5812065950, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _StarsTex:
m_Texture: {fileID: 8900000, guid: b5a7175da0f133b4d951c19c9c2cebfc, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SunTex:
m_Texture: {fileID: 2800000, guid: c95bed5306e94f24ba5802d841607ac7, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats: []
m_Colors: []
m_BuildTextureStacks: []
m_AllowLocking: 1
--- !u!1 &116710580
GameObject:
m_ObjectHideFlags: 0
@@ -1488,6 +1440,54 @@ MonoBehaviour:
_MaximumSpeed: 100
_WarnOnSpeedClamp: 0
_DebugSubsteps: 0
--- !u!21 &1948842527
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Enviro/Skybox
m_Shader: {fileID: 4800000, guid: 34fee0a1b19b20b45aea7483b5f757da, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _GalaxyTex:
m_Texture: {fileID: 8900000, guid: 5734983fc81450b4187c3cfa5985edef, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MoonGlowTex:
m_Texture: {fileID: 2800000, guid: 6838e0810da4e49488b5d9a6ee76eb07, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MoonTex:
m_Texture: {fileID: 2800000, guid: c6fd9f694390e0245b6dca5812065950, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _StarsTex:
m_Texture: {fileID: 8900000, guid: b5a7175da0f133b4d951c19c9c2cebfc, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SunTex:
m_Texture: {fileID: 2800000, guid: c95bed5306e94f24ba5802d841607ac7, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats: []
m_Colors: []
m_BuildTextureStacks: []
m_AllowLocking: 1
--- !u!1 &2034802495
GameObject:
m_ObjectHideFlags: 0
@@ -8268,7 +8268,7 @@ MonoBehaviour:
WaterObject: {fileID: 718680767}
Node: {fileID: 3673832994973231279}
GearNode: {fileID: 6022323663597824692}
Water: {fileID: 0}
Water: {fileID: 718680768}
LineRenderer: {fileID: 0}
FPS: 0
updateInterval: 0.2

View File

@@ -454,7 +454,7 @@ GameObject:
- component: {fileID: 54298866000586118}
- component: {fileID: 153691655494134957}
- component: {fileID: 2717383850592950062}
- component: {fileID: 3104700584461846010}
- component: {fileID: 8545743762334745476}
m_Layer: 16
m_Name: Float
m_TagString: Untagged
@@ -620,29 +620,56 @@ MonoBehaviour:
m_EditorClassIdentifier: Assembly-CSharp::NBF.BobberController
_rbody: {fileID: 54298866000586118}
joint: {fileID: 153691655494134957}
_buoyancy: {fileID: 3104700584461846010}
--- !u!114 &3104700584461846010
--- !u!114 &8545743762334745476
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1858052053854210}
m_Enabled: 0
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dd1aa9f0de8b435448c6893ecc60d021, type: 3}
m_Script: {fileID: 11500000, guid: f91c9d873c83492ca6d5e3e3a67c1760, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::Buoyancy
includeDeformation: 1
sphereRadiusApproximation: 0.1
waveForceMultiplier: 0.01
currentSpeedMultiplier: 0.01
dragMultiplier: 1
defaultRigidbodyDrag: 5
underwaterRigidbodyAngularDrag: 5
overwaterRigidbodyAngularDrag: 1
surfaceTensionDamping: 10
applyForceWithRandomOffset: 0
m_EditorClassIdentifier: Assembly-CSharp::CapsuleBuoyancyStable
buoyancyScale: 1.6
samplePoints: 9
submergenceCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 1
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 1
inSlope: 1
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
verticalDamping: 0.6
angularDamping: 0.1
uprightSpring: 0
uprightDamping: 0.5
uprightAxis: 1
extraDragInWater: 0.8
extraAngularDragInWater: 0.3
nearUprightDampingReduce: 0.6
nearUprightAngleDeg: 12
_waterRenderer: {fileID: 0}
_Layer: 1
_ObjectWidth: 3
drawDebug: 1
--- !u!1 &1933124697579601
GameObject:

View File

@@ -70,10 +70,10 @@ CapsuleCollider:
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.002
m_Height: 0.03
m_Radius: 0.003
m_Height: 0.02
m_Direction: 1
m_Center: {x: 0, y: 0.01, z: 0}
m_Center: {x: 0, y: 0.03, z: 0}
--- !u!1 &1236424003946422
GameObject:
m_ObjectHideFlags: 0
@@ -367,7 +367,7 @@ Transform:
m_GameObject: {fileID: 1696436611728297872}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -0.04, z: 0}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:

View File

@@ -1084,7 +1084,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_Version: 0
_WorldSpace: 0
_Axis: {x: 0, y: 1, z: 0}
_Amplitude: 0
_Frequency: 1
@@ -1395,7 +1394,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_Version: 0
_WorldSpace: 0
_Axis: {x: 0, y: 0, z: 1}
_Amplitude: 10
_Frequency: 1
@@ -1655,7 +1653,7 @@ MonoBehaviour:
_TimeSliceBoundsUpdateFrameCount: 1
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Version: 2
_Version: 1
_Camera: {fileID: 0}
_TimeProvider: {fileID: 0}
_WindZone: {fileID: 0}
@@ -1683,10 +1681,7 @@ MonoBehaviour:
_Resolution: 384
_GeometryDownSampleFactor: 2
_ExtentsSizeMultiplier: 100
_MultipleViewpoints: 0
_Viewpoint: {fileID: 0}
_CameraExclusions: -1
_DataBackgroundMode: 3
_CenterOfDetailDisplacementCorrection: 1
_SampleTerrainHeightForScale: 1
_ForceScaleChangeSmoothing: 0
@@ -1722,11 +1717,10 @@ MonoBehaviour:
_Portals:
rid: 162836781179600907
_ShowWaterProxyPlane: 0
_EditModeFrameRate: 30
_FollowSceneCamera: 1
_EditorMultipleViewpoints: 1
_HeightQueries: 1
_Debug:
_SimulatePaused: 0
_AttachDebugGUI: 0
_ShowHiddenObjects: 0
_DisableFollowViewpoint: 0
@@ -1736,8 +1730,6 @@ MonoBehaviour:
_LogScaleChange: 0
_PauseOnScaleChange: 0
_IgnoreWavesForScaleChange: 0
_OverrideScale: 0
_ScaleOverride: 0
_ForceNoGraphics: 0
_Resources: {fileID: 11400000, guid: 0817af17dea584e5382e6216db162d4a, type: 2}
references:
@@ -1751,8 +1743,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 7
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 1.026, g: 2.085, b: 2.5500002, a: 0.306}
_ShorelineColorMaximumDistance: 10
@@ -1765,8 +1755,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 23
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 0, g: 0.588, b: 1.2, a: 6}
_ShorelineColorMaximumDistance: 10
@@ -1776,16 +1764,14 @@ MonoBehaviour:
data:
_Version: 0
_Enabled: 1
_MeshType: 0
_Layer: 4
_Material: {fileID: 2100000, guid: a8dc4e412bc6749cca29b3232bcb0f18, type: 2}
_Material: {fileID: 2100000, guid: 8ab064b6606504a55b489af2787350c2, type: 2}
_VolumeMaterial: {fileID: 0}
_ChunkTemplate: {fileID: 1516456258233481520, guid: 17840562212c147d6bdb5144d35bc442,
type: 3}
_CastShadows: 0
_WaterBodyCulling: 1
_TimeSliceBoundsUpdateFrameCount: 1
_CameraExclusions: 6
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Debug:
@@ -1797,26 +1783,21 @@ MonoBehaviour:
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: 238e45299a5ec46308e9bf99ddf67963, type: 2}
_CameraExclusions: 6
- rid: 162836781179600896
type: {class: AnimatedWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Enabled: 1
_OverrideResolution: 0
_Resolution: 256
_TextureFormatMode: 200
_TextureFormatMode: 100
_TextureFormat: 48
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 4096
_CollisionLayers: -1
_BakedWaveData: {fileID: 0}
_WaveSampling: 0
_WaveResolutionMultiplier: 1
_AttenuationInShallows: 0.95
_ShallowsMaximumDepth: 1000
_CollisionSource: 2
_CollisionLayers: -1
_MaximumQueryCount: 4096
_BakedWaveData: {fileID: 0}
- rid: 162836781179600897
type: {class: DepthLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -1825,10 +1806,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 512
_IncludeTerrainHeight: 0
_EnableSignedDistanceFields: 1
- rid: 162836781179600898
@@ -1839,8 +1816,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 300
_TextureFormat: 45
_Blur: 0
_BlurIterations: 4
- rid: 162836781179600899
type: {class: FoamLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -1849,8 +1824,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 45
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 30
_Prewarm: 1
_Settings: {fileID: 11400000, guid: 01b6d2d72f0e04b0abc7d62cfc8b5355, type: 2}
@@ -1862,8 +1835,6 @@ MonoBehaviour:
_Resolution: 512
_TextureFormatMode: 300
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 120
_AttenuationInShallows: 1
_Settings: {fileID: 11400000, guid: 97eb5eccada85449e9c98d91709b5f74, type: 2}
@@ -1875,10 +1846,6 @@ MonoBehaviour:
_Resolution: 128
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 1024
- rid: 162836781179600902
type: {class: ShadowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -1887,8 +1854,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 6
_Blur: 1
_BlurIterations: 1
_SimulationFrequency: 60
_DynamicSoftShadows: 1
_SoftJitterExtinctionFactor: 0.75
@@ -1906,8 +1871,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 5
_Blur: 0
_BlurIterations: 1
_DefaultClippingState: 0
- rid: 162836781179600904
type: {class: AlbedoLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
@@ -1917,8 +1880,6 @@ MonoBehaviour:
_Resolution: 768
_TextureFormatMode: 100
_TextureFormat: 8
_Blur: 0
_BlurIterations: 1
- rid: 162836781179600905
type: {class: WaterReflections, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -1929,13 +1890,13 @@ MonoBehaviour:
serializedVersion: 2
m_Bits: 1
_Resolution: 256
_Overscan: 1.5
_RenderOnlySingleCamera: 0
_Sky: 0
_DisablePixelLights: 1
_DisableShadows: 1
_HDR: 1
_Stencil: 0
_AllowMSAA: 0
_QualitySettingsOverride:
_OverrideLodBias: 0
_LodBias: Infinity
@@ -1954,18 +1915,17 @@ MonoBehaviour:
_Debug:
_ShowHiddenObjects: 0
_DisableRecursiveRendering: 0
_ForceCompatibility: 0
_AllowMSAA: 0
- rid: 162836781179600906
type: {class: UnderwaterRenderer, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: f2b096e4d95e646c49d48ece0afa0547, type: 2}
_EnvironmentalLightingEnable: 0
_EnvironmentalLightingWeight: 1
_EnvironmentalLightingVolumeProfile: {fileID: 0}
_CameraExclusions: 6
_AllCameras: 0
_CopyWaterMaterialParametersEachFrame: 1
_FarPlaneMultiplier: 0.68
_CullLimit: 0.001
@@ -1976,8 +1936,6 @@ MonoBehaviour:
_DisableHeightAboveWaterOptimization: 0
_DisableArtifactCorrection: 0
_OnlyReflectionCameras: 0
_Version: 0
_AllCameras: 0
- rid: 162836781179600907
type: {class: PortalRenderer, ns: WaveHarmonic.Crest.Portals, asm: WaveHarmonic.Crest}
data:
@@ -2270,27 +2228,24 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: 4fde516347f8f410cb7bf7ec2b66c163, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 0
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 128
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.145
_WindAlignment: 0
_TimeLoopLength: Infinity
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 3
_Version: 2
references:
version: 2
RefIds:
@@ -3240,7 +3195,7 @@ MonoBehaviour:
_OctaveWavelength: 0
_MaximumDisplacementVertical: 0
_MaximumDisplacementHorizontal: 0
_ReportRendererBounds: 1
_ReportRendererBounds: 0
_Version: 1
_RenderPostCombine: 1
references:
@@ -4262,32 +4217,32 @@ PrefabInstance:
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.6865763
value: 0.68926716
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.x
value: 0.2843892
value: 0.2855038
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.6181962
value: -0.61519444
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.z
value: 0.25606522
value: 0.25482187
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 45
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -84
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}

View File

@@ -55,7 +55,7 @@ MonoBehaviour:
_TimeSliceBoundsUpdateFrameCount: 1
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Version: 2
_Version: 1
_Camera: {fileID: 0}
_TimeProvider: {fileID: 0}
_WindZone: {fileID: 0}
@@ -83,10 +83,7 @@ MonoBehaviour:
_Resolution: 384
_GeometryDownSampleFactor: 2
_ExtentsSizeMultiplier: 100
_MultipleViewpoints: 0
_Viewpoint: {fileID: 0}
_CameraExclusions: -1
_DataBackgroundMode: 3
_CenterOfDetailDisplacementCorrection: 1
_SampleTerrainHeightForScale: 1
_ForceScaleChangeSmoothing: 0
@@ -122,11 +119,10 @@ MonoBehaviour:
_Portals:
rid: 162836781179600923
_ShowWaterProxyPlane: 0
_EditModeFrameRate: 30
_FollowSceneCamera: 1
_EditorMultipleViewpoints: 1
_HeightQueries: 1
_Debug:
_SimulatePaused: 0
_AttachDebugGUI: 0
_ShowHiddenObjects: 0
_DisableFollowViewpoint: 0
@@ -136,8 +132,6 @@ MonoBehaviour:
_LogScaleChange: 0
_PauseOnScaleChange: 0
_IgnoreWavesForScaleChange: 0
_OverrideScale: 0
_ScaleOverride: 0
_ForceNoGraphics: 0
_Resources: {fileID: 11400000, guid: 0817af17dea584e5382e6216db162d4a, type: 2}
references:
@@ -151,8 +145,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 7
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 1.026, g: 2.085, b: 2.5500002, a: 0.306}
_ShorelineColorMaximumDistance: 10
@@ -165,8 +157,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 23
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 0, g: 0.588, b: 1.2, a: 6}
_ShorelineColorMaximumDistance: 10
@@ -176,16 +166,14 @@ MonoBehaviour:
data:
_Version: 0
_Enabled: 1
_MeshType: 0
_Layer: 4
_Material: {fileID: 2100000, guid: a8dc4e412bc6749cca29b3232bcb0f18, type: 2}
_Material: {fileID: 2100000, guid: 8ab064b6606504a55b489af2787350c2, type: 2}
_VolumeMaterial: {fileID: 0}
_ChunkTemplate: {fileID: 1516456258233481520, guid: 17840562212c147d6bdb5144d35bc442,
type: 3}
_CastShadows: 0
_WaterBodyCulling: 1
_TimeSliceBoundsUpdateFrameCount: 1
_CameraExclusions: 6
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Debug:
@@ -197,7 +185,6 @@ MonoBehaviour:
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: 238e45299a5ec46308e9bf99ddf67963, type: 2}
_CameraExclusions: 6
- rid: 162836781179600912
type: {class: AnimatedWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -206,17 +193,13 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 48
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 4096
_CollisionLayers: -1
_BakedWaveData: {fileID: 0}
_WaveSampling: 0
_WaveResolutionMultiplier: 1
_AttenuationInShallows: 0.95
_ShallowsMaximumDepth: 1000
_CollisionSource: 2
_CollisionLayers: -1
_MaximumQueryCount: 4096
_BakedWaveData: {fileID: 0}
- rid: 162836781179600913
type: {class: DepthLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -225,10 +208,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 512
_IncludeTerrainHeight: 0
_EnableSignedDistanceFields: 1
- rid: 162836781179600914
@@ -239,8 +218,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 300
_TextureFormat: 45
_Blur: 0
_BlurIterations: 4
- rid: 162836781179600915
type: {class: FoamLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -249,8 +226,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 45
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 30
_Prewarm: 1
_Settings: {fileID: 11400000, guid: 01b6d2d72f0e04b0abc7d62cfc8b5355, type: 2}
@@ -262,8 +237,6 @@ MonoBehaviour:
_Resolution: 512
_TextureFormatMode: 300
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 120
_AttenuationInShallows: 1
_Settings: {fileID: 11400000, guid: 97eb5eccada85449e9c98d91709b5f74, type: 2}
@@ -275,10 +248,6 @@ MonoBehaviour:
_Resolution: 128
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 1024
- rid: 162836781179600918
type: {class: ShadowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -287,8 +256,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 6
_Blur: 1
_BlurIterations: 1
_SimulationFrequency: 60
_DynamicSoftShadows: 1
_SoftJitterExtinctionFactor: 0.75
@@ -306,8 +273,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 5
_Blur: 0
_BlurIterations: 1
_DefaultClippingState: 0
- rid: 162836781179600920
type: {class: AlbedoLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
@@ -317,8 +282,6 @@ MonoBehaviour:
_Resolution: 768
_TextureFormatMode: 100
_TextureFormat: 8
_Blur: 0
_BlurIterations: 1
- rid: 162836781179600921
type: {class: WaterReflections, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -329,13 +292,13 @@ MonoBehaviour:
serializedVersion: 2
m_Bits: 1
_Resolution: 256
_Overscan: 1.5
_RenderOnlySingleCamera: 0
_Sky: 0
_DisablePixelLights: 1
_DisableShadows: 1
_HDR: 1
_Stencil: 0
_AllowMSAA: 0
_QualitySettingsOverride:
_OverrideLodBias: 0
_LodBias: Infinity
@@ -354,18 +317,17 @@ MonoBehaviour:
_Debug:
_ShowHiddenObjects: 0
_DisableRecursiveRendering: 0
_ForceCompatibility: 0
_AllowMSAA: 0
- rid: 162836781179600922
type: {class: UnderwaterRenderer, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: f2b096e4d95e646c49d48ece0afa0547, type: 2}
_EnvironmentalLightingEnable: 0
_EnvironmentalLightingWeight: 1
_EnvironmentalLightingVolumeProfile: {fileID: 0}
_CameraExclusions: 6
_AllCameras: 0
_CopyWaterMaterialParametersEachFrame: 1
_FarPlaneMultiplier: 0.68
_CullLimit: 0.001
@@ -376,8 +338,6 @@ MonoBehaviour:
_DisableHeightAboveWaterOptimization: 0
_DisableArtifactCorrection: 0
_OnlyReflectionCameras: 0
_Version: 0
_AllCameras: 0
- rid: 162836781179600923
type: {class: PortalRenderer, ns: WaveHarmonic.Crest.Portals, asm: WaveHarmonic.Crest}
data:
@@ -441,27 +401,24 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: 28a29b5ef0c644735b5d7ba47d2863d4, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 180
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 32
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.145
_WindAlignment: 0
_TimeLoopLength: 32
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 3
_Version: 2
references:
version: 2
RefIds:
@@ -1304,32 +1261,32 @@ PrefabInstance:
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.6865763
value: 0.7016851
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.x
value: 0.2843892
value: 0.29064745
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.6181962
value: -0.6009921
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.z
value: 0.25606522
value: 0.24893905
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 45
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -84
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}

View File

@@ -155,23 +155,18 @@ Material:
- _DoubleSidedGIMode: 0
- _DoubleSidedNormalMode: 2
- _DstBlend: 10
- _DstBlend2: 0
- _DstBlendAlpha: 10
- _EnableBlendModePreserveSpecularLighting: 1
- _EnableFogOnTransparent: 1
- _ExcludeFromTUAndAA: 0
- _GlossMapScale: 1
- _Glossiness: 0
- _GlossyReflections: 1
- _MaterialID: 1
- _MaterialTypeMask: 2
- _Metallic: 0
- _Mode: 3
- _Normal_Flip_Back_Faces: 1
- _OcclusionStrength: 1
- _OpaqueCullMode: 2
- _Parallax: 0.02
- _PerPixelSorting: 0
- _QueueControl: 0
- _QueueOffset: 0
- _RayTracing: 0
@@ -186,7 +181,6 @@ Material:
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _SrcBlendAlpha: 1
- _StencilRef: 0
- _StencilRefDepth: 0
- _StencilRefDistortionVec: 4
@@ -200,7 +194,6 @@ Material:
- _SupportDecals: 1
- _Surface: 1
- _SurfaceType: 1
- _TransmissionEnable: 1
- _TransparentBackfaceEnable: 0
- _TransparentCullMode: 2
- _TransparentDepthPostpassEnable: 0
@@ -210,7 +203,6 @@ Material:
- _TransparentZWrite: 0
- _UVSec: 0
- _UseShadowThreshold: 0
- _Water_Volume_Multiplier: 1
- _WorkflowMode: 1
- _ZTest: 4
- _ZTestDepthEqualForOpaque: 4

View File

@@ -54,12 +54,12 @@ Material:
m_Parent: {fileID: -876546973899608171, guid: 00ffe7d0b7161420897069dc6e12822c, type: 3}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- CREST_FLOW_ON
- _ALPHATEST_ON
- _BUILTIN_ALPHATEST_ON
- _BUILTIN_AlphaClip
- _BUILTIN_SURFACE_TYPE_TRANSPARENT
- _BUILTIN_TRANSPARENT_RECEIVES_SHADOWS
- _CREST_FLOW_LOD
- _DOUBLESIDED_ON
- _ENABLE_FOG_ON_TRANSPARENT
- _SURFACE_TYPE_TRANSPARENT
@@ -86,11 +86,11 @@ Material:
m_TexEnvs: []
m_Ints: []
m_Floats:
- CREST_FLOW: 1
- _BUILTIN_DstBlend: 10
- _BUILTIN_QueueControl: 0
- _BUILTIN_SrcBlend: 5
- _BUILTIN_ZWrite: 1
- _CREST_FLOW_LOD: 1
- _Crest_AlbedoEnabled: 1
- _Crest_FoamFeather: 1
- _Crest_FoamScale: 1.3

View File

@@ -314,27 +314,24 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: e13a1902b10e34e9fb08e1d09e39b5d4, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 0
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 32
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.35
_WindAlignment: 0
_TimeLoopLength: Infinity
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 3
_Version: 2
references:
version: 2
RefIds:
@@ -1379,7 +1376,7 @@ MonoBehaviour:
_TimeSliceBoundsUpdateFrameCount: 1
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Version: 2
_Version: 1
_Camera: {fileID: 0}
_TimeProvider: {fileID: 0}
_WindZone: {fileID: 0}
@@ -1407,10 +1404,7 @@ MonoBehaviour:
_Resolution: 384
_GeometryDownSampleFactor: 2
_ExtentsSizeMultiplier: 100
_MultipleViewpoints: 0
_Viewpoint: {fileID: 2613380069347621712}
_CameraExclusions: -1
_DataBackgroundMode: 3
_CenterOfDetailDisplacementCorrection: 1
_SampleTerrainHeightForScale: 1
_ForceScaleChangeSmoothing: 0
@@ -1446,11 +1440,10 @@ MonoBehaviour:
_Portals:
rid: 1011
_ShowWaterProxyPlane: 0
_EditModeFrameRate: 30
_FollowSceneCamera: 1
_EditorMultipleViewpoints: 1
_HeightQueries: 1
_Debug:
_SimulatePaused: 0
_AttachDebugGUI: 0
_ShowHiddenObjects: 0
_DisableFollowViewpoint: 0
@@ -1460,8 +1453,6 @@ MonoBehaviour:
_LogScaleChange: 0
_PauseOnScaleChange: 0
_IgnoreWavesForScaleChange: 0
_OverrideScale: 0
_ScaleOverride: 0
_ForceNoGraphics: 0
_Resources: {fileID: 11400000, guid: 0817af17dea584e5382e6216db162d4a, type: 2}
references:
@@ -1475,8 +1466,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 7
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 1.026, g: 2.085, b: 2.5500002, a: 0.306}
_ShorelineColorMaximumDistance: 10
@@ -1489,10 +1478,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 512
_IncludeTerrainHeight: 0
_EnableSignedDistanceFields: 1
- rid: 1002
@@ -1503,8 +1488,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 300
_TextureFormat: 45
_Blur: 0
_BlurIterations: 4
- rid: 1003
type: {class: FoamLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -1513,8 +1496,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 45
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 30
_Prewarm: 1
_Settings: {fileID: 0}
@@ -1526,8 +1507,6 @@ MonoBehaviour:
_Resolution: 512
_TextureFormatMode: 300
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 120
_AttenuationInShallows: 1
_Settings: {fileID: 0}
@@ -1539,10 +1518,6 @@ MonoBehaviour:
_Resolution: 128
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 1024
- rid: 1006
type: {class: ShadowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -1551,8 +1526,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 6
_Blur: 1
_BlurIterations: 1
_SimulationFrequency: 60
_DynamicSoftShadows: 1
_SoftJitterExtinctionFactor: 0.75
@@ -1570,8 +1543,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 5
_Blur: 0
_BlurIterations: 1
_DefaultClippingState: 1
- rid: 1008
type: {class: AlbedoLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
@@ -1581,8 +1552,6 @@ MonoBehaviour:
_Resolution: 768
_TextureFormatMode: 100
_TextureFormat: 8
_Blur: 0
_BlurIterations: 1
- rid: 1009
type: {class: WaterReflections, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -1593,13 +1562,13 @@ MonoBehaviour:
serializedVersion: 2
m_Bits: 1
_Resolution: 256
_Overscan: 1.5
_RenderOnlySingleCamera: 0
_Sky: 0
_DisablePixelLights: 1
_DisableShadows: 1
_HDR: 1
_Stencil: 0
_AllowMSAA: 0
_QualitySettingsOverride:
_OverrideLodBias: 0
_LodBias: 0.5
@@ -1618,18 +1587,17 @@ MonoBehaviour:
_Debug:
_ShowHiddenObjects: 0
_DisableRecursiveRendering: 0
_ForceCompatibility: 0
_AllowMSAA: 0
- rid: 1010
type: {class: UnderwaterRenderer, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: f2b096e4d95e646c49d48ece0afa0547, type: 2}
_EnvironmentalLightingEnable: 0
_EnvironmentalLightingWeight: 1
_EnvironmentalLightingVolumeProfile: {fileID: 0}
_CameraExclusions: 6
_AllCameras: 0
_CopyWaterMaterialParametersEachFrame: 1
_FarPlaneMultiplier: 0.68
_CullLimit: 0.001
@@ -1640,8 +1608,6 @@ MonoBehaviour:
_DisableHeightAboveWaterOptimization: 0
_DisableArtifactCorrection: 0
_OnlyReflectionCameras: 0
_Version: 0
_AllCameras: 0
- rid: 1011
type: {class: PortalRenderer, ns: WaveHarmonic.Crest.Portals, asm: WaveHarmonic.Crest}
data:
@@ -1657,8 +1623,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 23
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 0, g: 0.588, b: 1.2, a: 6}
_ShorelineColorMaximumDistance: 10
@@ -1668,7 +1632,6 @@ MonoBehaviour:
data:
_Version: 0
_Enabled: 1
_MeshType: 0
_Layer: 4
_Material: {fileID: 2100000, guid: d82d92d8d8f214cd0b8bf7c185b2c341, type: 2}
_VolumeMaterial: {fileID: 0}
@@ -1676,7 +1639,6 @@ MonoBehaviour:
_CastShadows: 0
_WaterBodyCulling: 1
_TimeSliceBoundsUpdateFrameCount: 1
_CameraExclusions: 6
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Debug:
@@ -1688,7 +1650,6 @@ MonoBehaviour:
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: 238e45299a5ec46308e9bf99ddf67963, type: 2}
_CameraExclusions: 6
- rid: 5163698739167625228
type: {class: AnimatedWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -1697,17 +1658,13 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 48
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 4096
_CollisionLayers: -1
_BakedWaveData: {fileID: 0}
_WaveSampling: 0
_WaveResolutionMultiplier: 1
_AttenuationInShallows: 0.95
_ShallowsMaximumDepth: 1000
_CollisionSource: 2
_CollisionLayers: -1
_MaximumQueryCount: 4096
_BakedWaveData: {fileID: 0}
--- !u!1 &9077896628645171223
GameObject:
m_ObjectHideFlags: 0

View File

@@ -119,6 +119,171 @@ MonoBehaviour:
_ShaderPassIndex: 0
_CheckShaderName: 1
_CheckShaderPasses: 1
--- !u!1 &4811082362463432963
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3045335462880455184}
- component: {fileID: 1686987402272609885}
- component: {fileID: 493122196572431846}
m_Layer: 0
m_Name: Albedo
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!4 &3045335462880455184
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4811082362463432963}
serializedVersion: 2
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2657230488372934684}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1686987402272609885
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4811082362463432963}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c948522afe4014818ad3ab8b5dad00b6, type: 3}
m_Name:
m_EditorClassIdentifier:
_Previous: 44
_Next: 46
_Prefabs: []
--- !u!114 &493122196572431846
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4811082362463432963}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a8eca7a783ef84759a4e965c9d6d8827, type: 3}
m_Name:
m_EditorClassIdentifier:
_Version: 0
_ExecuteUpdateEvery: 0
_StopExecutingUpdateAfter: Infinity
_OnEnable:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: UnityEngine.UI.Text, UnityEngine.UI
m_MethodName: set_text
m_Mode: 5
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument: Albedo
m_BoolArgument: 1
m_CallState: 2
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: UnityEngine.UI.Slider, UnityEngine.UI
m_MethodName: set_maxValue
m_Mode: 4
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
_OnDisable:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: Crest.OceanRenderer, Crest
m_MethodName: ClearLodData
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
_OnUpdate:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: UnityEngine.UI.Slider, UnityEngine.UI
m_MethodName: set_value
m_Mode: 0
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
_OnLegacyRenderPipeline:
m_PersistentCalls:
m_Calls: []
_OnHighDefinitionPipeline:
m_PersistentCalls:
m_Calls: []
_OnUniversalRenderPipeline:
m_PersistentCalls:
m_Calls: []
--- !u!1001 &4865865868520106964
PrefabInstance:
m_ObjectHideFlags: 0
@@ -225,6 +390,10 @@ PrefabInstance:
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects:
- targetCorrespondingSourceObject: {fileID: 7451036494515983304, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
insertIndex: -1
addedObject: {fileID: 3045335462880455184}
- targetCorrespondingSourceObject: {fileID: 7451036494515983304, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
insertIndex: -1

View File

@@ -178,7 +178,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_Version: 0
_WorldSpace: 0
_Axis: {x: 0, y: 0, z: 1}
_Amplitude: 10
_Frequency: 1

View File

@@ -168,7 +168,6 @@ MonoBehaviour:
m_EditorClassIdentifier:
_Version: 0
_Source: 0
_Viewer: {fileID: 0}
_Layer: 0
_MinimumWavelength: 1
_DistanceFromSurfaceSigned: 0

View File

@@ -121,7 +121,6 @@ MonoBehaviour:
m_EditorClassIdentifier:
_Version: 0
_Source: 0
_Viewer: {fileID: 0}
_Layer: 0
_MinimumWavelength: 1
_DistanceFromSurfaceSigned: 0

View File

@@ -628,7 +628,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_Version: 0
_WorldSpace: 0
_Axis: {x: 0, y: 1, z: 0}
_Amplitude: 0
_Frequency: 1

View File

@@ -8,90 +8,111 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 809695123049724894, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 809695123049724894, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 809695123049724894, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 809695123049724894, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2823138595762987762, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 2823138595762987762, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: m_Name
value: Examples_FloatingObjects
objectReference: {fileID: 0}
- target: {fileID: 2853796242865667210, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 2853796242865667210, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: managedReferences[1004]._Enabled
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5549572483640152611, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 5549572483640152611, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: m_MaxValue
value: 5
objectReference: {fileID: 0}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 5655619906866042202, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6119524809475244111, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- target: {fileID: 6119524809475244111, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
propertyPath: m_Text
value: Floating Objects
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects:
- targetCorrespondingSourceObject: {fileID: 7451036494515983304, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- targetCorrespondingSourceObject: {fileID: 7451036494515983304, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
insertIndex: -1
addedObject: {fileID: 4586859356124459972}
- targetCorrespondingSourceObject: {fileID: 7451036494515983304, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- targetCorrespondingSourceObject: {fileID: 7451036494515983304, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
insertIndex: -1
addedObject: {fileID: 510414307367690215}
- targetCorrespondingSourceObject: {fileID: 7451036494515983304, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- targetCorrespondingSourceObject: {fileID: 7451036494515983304, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
insertIndex: -1
addedObject: {fileID: 8023298220426844320}
- targetCorrespondingSourceObject: {fileID: 7451036494515983304, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
- targetCorrespondingSourceObject: {fileID: 7451036494515983304, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
insertIndex: -1
addedObject: {fileID: 1585603024147405864}
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
--- !u!4 &7195797433741594109 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 7451036494515983304, guid: 8b98a14ae91dd498d8f577f0f8f4aff1, type: 3}
m_CorrespondingSourceObject: {fileID: 7451036494515983304, guid: 8b98a14ae91dd498d8f577f0f8f4aff1,
type: 3}
m_PrefabInstance: {fileID: 341145004360408629}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &2066873169911808049
@@ -102,47 +123,58 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 7195797433741594109}
m_Modifications:
- target: {fileID: 875385380025743593, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 875385380025743593, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_Name
value: Examples_FloatingBox (2)
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalPosition.y
value: 5
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
@@ -153,7 +185,8 @@ PrefabInstance:
m_SourcePrefab: {fileID: 100100000, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
--- !u!4 &8023298220426844320 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
m_CorrespondingSourceObject: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
m_PrefabInstance: {fileID: 2066873169911808049}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &5499094441694620501
@@ -164,51 +197,58 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 7195797433741594109}
m_Modifications:
- target: {fileID: 875385380025743593, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 875385380025743593, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_Name
value: Examples_FloatingBox
objectReference: {fileID: 0}
- target: {fileID: 7065213192571102027, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalPosition.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
@@ -219,7 +259,8 @@ PrefabInstance:
m_SourcePrefab: {fileID: 100100000, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
--- !u!4 &4586859356124459972 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
m_CorrespondingSourceObject: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
m_PrefabInstance: {fileID: 5499094441694620501}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &7347139586002683065
@@ -230,47 +271,58 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 7195797433741594109}
m_Modifications:
- target: {fileID: 875385380025743593, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 875385380025743593, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_Name
value: Examples_FloatingBox (3)
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalPosition.y
value: 7
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
@@ -281,7 +333,8 @@ PrefabInstance:
m_SourcePrefab: {fileID: 100100000, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
--- !u!4 &1585603024147405864 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
m_CorrespondingSourceObject: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
m_PrefabInstance: {fileID: 7347139586002683065}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &8422331713121437558
@@ -292,47 +345,58 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 7195797433741594109}
m_Modifications:
- target: {fileID: 875385380025743593, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 875385380025743593, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_Name
value: Examples_FloatingBox (1)
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalPosition.y
value: 3
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
- target: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
@@ -343,6 +407,7 @@ PrefabInstance:
m_SourcePrefab: {fileID: 100100000, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
--- !u!4 &510414307367690215 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
m_CorrespondingSourceObject: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200,
type: 3}
m_PrefabInstance: {fileID: 8422331713121437558}
m_PrefabAsset: {fileID: 0}

View File

@@ -56,27 +56,24 @@ MonoBehaviour:
_Spectrum: {fileID: 0}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 0
_OverrideGlobalWindSpeed: 1
_WindSpeed: 3
_Resolution: 128
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.145
_WindAlignment: 0
_TimeLoopLength: Infinity
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 3
_Version: 2
references:
version: 2
RefIds:

View File

@@ -56,13 +56,11 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: 6b50b5218dbe2488fb5d00db49d15dae, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 0
_OverrideGlobalWindSpeed: 1
_WindSpeed: 150
_Resolution: 128
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_Swell: 0
@@ -70,7 +68,7 @@ MonoBehaviour:
_ComponentsPerOctave: 8
_RandomSeed: 0
_ManualGeneration: 0
_Version: 3
_Version: 2
references:
version: 2
RefIds:

View File

@@ -212,13 +212,11 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: e13a1902b10e34e9fb08e1d09e39b5d4, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: -58.00273
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 128
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_Swell: 0
@@ -226,7 +224,7 @@ MonoBehaviour:
_ComponentsPerOctave: 8
_RandomSeed: 0
_ManualGeneration: 0
_Version: 3
_Version: 2
references:
version: 2
RefIds:
@@ -427,27 +425,24 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: e13a1902b10e34e9fb08e1d09e39b5d4, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 0
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 128
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.145
_WindAlignment: 0
_TimeLoopLength: Infinity
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 3
_Version: 2
references:
version: 2
RefIds:

View File

@@ -140,7 +140,6 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
_Version: 0
_WorldSpace: 0
_Axis: {x: 1, y: 0, z: 1}
_Amplitude: 15
_Frequency: 1

View File

@@ -58,27 +58,24 @@ MonoBehaviour:
_Spectrum: {fileID: 0}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 0
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 32
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.145
_WindAlignment: 0
_TimeLoopLength: Infinity
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 3
_Version: 2
references:
version: 2
RefIds:

View File

@@ -13,7 +13,7 @@ OcclusionCullingSettings:
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 10
serializedVersion: 9
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
@@ -42,8 +42,8 @@ RenderSettings:
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 13
m_BakeOnSceneLoad: 1
serializedVersion: 12
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
@@ -66,6 +66,9 @@ LightmapSettings:
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
@@ -93,8 +96,9 @@ LightmapSettings:
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 112000000, guid: be61fd374ee0fad46a337d78e0ed01ae, type: 2}
m_LightingSettings: {fileID: 4890085278179872738, guid: 6e72aca972f324f7886200f86939d735, type: 2}
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: 6e72aca972f324f7886200f86939d735,
type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
@@ -542,6 +546,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c948522afe4014818ad3ab8b5dad00b6, type: 3}
m_Name:
m_EditorClassIdentifier:
_Previous: 110
_Next: 109
_Prefabs:
- {fileID: 7253832949013104934, guid: c991a6f7c7bf14d29a1868ab0ba78d9b, type: 3}
- {fileID: 4743998664470201614, guid: d567dc7b091ab41dca1737015904294c, type: 3}
@@ -742,7 +748,6 @@ GameObject:
- component: {fileID: 1122580655}
- component: {fileID: 1122580654}
- component: {fileID: 1122580653}
- component: {fileID: 1122580657}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
@@ -766,17 +771,28 @@ MonoBehaviour:
m_MoveRepeatDelay: 0.5
m_MoveRepeatRate: 0.1
m_XRTrackingOrigin: {fileID: 0}
m_ActionsAsset: {fileID: -944628639613478452, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_PointAction: {fileID: 1054132383583890850, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_MoveAction: {fileID: 3710738434707379630, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_SubmitAction: {fileID: 2064916234097673511, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_CancelAction: {fileID: -1967631576421560919, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_LeftClickAction: {fileID: 8056856818456041789, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_MiddleClickAction: {fileID: 3279352641294131588, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_RightClickAction: {fileID: 3837173908680883260, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_ScrollWheelAction: {fileID: 4502412055082496612, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_TrackedDevicePositionAction: {fileID: 4754684134866288074, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_TrackedDeviceOrientationAction: {fileID: 1025543830046995696, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_ActionsAsset: {fileID: -944628639613478452, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_PointAction: {fileID: 1054132383583890850, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_MoveAction: {fileID: 3710738434707379630, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_SubmitAction: {fileID: 2064916234097673511, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_CancelAction: {fileID: -1967631576421560919, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_LeftClickAction: {fileID: 8056856818456041789, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_MiddleClickAction: {fileID: 3279352641294131588, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_RightClickAction: {fileID: 3837173908680883260, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_ScrollWheelAction: {fileID: 4502412055082496612, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_TrackedDevicePositionAction: {fileID: 4754684134866288074, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_TrackedDeviceOrientationAction: {fileID: 1025543830046995696, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_DeselectOnBackgroundClick: 1
m_PointerBehavior: 0
m_CursorLockBehavior: 0
@@ -831,18 +847,6 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1122580657
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1122580652}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 539016482e955484bbeb4193a95d3e15, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1131128992
GameObject:
m_ObjectHideFlags: 0
@@ -878,11 +882,6 @@ MeshRenderer:
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_ForceMeshLod: -1
m_MeshLodSelectionBias: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
@@ -904,7 +903,6 @@ MeshRenderer:
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_GlobalIlluminationMeshLod: 0
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
@@ -940,47 +938,58 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 1845454492}
m_Modifications:
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a, type: 3}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a, type: 3}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a, type: 3}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a, type: 3}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.w
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a, type: 3}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a, type: 3}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.y
value: 0.9063079
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a, type: 3}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalRotation.z
value: -0.42261827
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a, type: 3}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 105
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a, type: 3}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 15
objectReference: {fileID: 0}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a, type: 3}
- target: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5304508333967466499, guid: 774ab582b39374a7e9d5dac8e31b9a5a, type: 3}
- target: {fileID: 5304508333967466499, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
propertyPath: m_Name
value: Sun
objectReference: {fileID: 0}
@@ -991,7 +1000,8 @@ PrefabInstance:
m_SourcePrefab: {fileID: 100100000, guid: 774ab582b39374a7e9d5dac8e31b9a5a, type: 3}
--- !u!4 &1364867124 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a, type: 3}
m_CorrespondingSourceObject: {fileID: 1399345652565587599, guid: 774ab582b39374a7e9d5dac8e31b9a5a,
type: 3}
m_PrefabInstance: {fileID: 1364867123}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1682107712
@@ -1083,47 +1093,58 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 1845454492}
m_Modifications:
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e, type: 3}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e, type: 3}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e, type: 3}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e, type: 3}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e, type: 3}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e, type: 3}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e, type: 3}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e, type: 3}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e, type: 3}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e, type: 3}
- target: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2942909709672342223, guid: 63a4b7e65d06948649ac3e10077d8c2e, type: 3}
- target: {fileID: 2942909709672342223, guid: 63a4b7e65d06948649ac3e10077d8c2e,
type: 3}
propertyPath: m_Name
value: Atmosphere
objectReference: {fileID: 0}
@@ -1134,7 +1155,8 @@ PrefabInstance:
m_SourcePrefab: {fileID: 100100000, guid: 63a4b7e65d06948649ac3e10077d8c2e, type: 3}
--- !u!4 &1734491900 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e, type: 3}
m_CorrespondingSourceObject: {fileID: 2272289698115174340, guid: 63a4b7e65d06948649ac3e10077d8c2e,
type: 3}
m_PrefabInstance: {fileID: 1734491899}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1835631273
@@ -1282,47 +1304,58 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 1845454492}
m_Modifications:
- target: {fileID: 963553959586484309, guid: bece9afbf3ddd49059dd73ba2cc986f6, type: 3}
- target: {fileID: 963553959586484309, guid: bece9afbf3ddd49059dd73ba2cc986f6,
type: 3}
propertyPath: m_Name
value: Lighting
objectReference: {fileID: 0}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6, type: 3}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6, type: 3}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6, type: 3}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6, type: 3}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6, type: 3}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6, type: 3}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6, type: 3}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6, type: 3}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6, type: 3}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6, type: 3}
- target: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
@@ -1333,7 +1366,8 @@ PrefabInstance:
m_SourcePrefab: {fileID: 100100000, guid: bece9afbf3ddd49059dd73ba2cc986f6, type: 3}
--- !u!4 &1886939755 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6, type: 3}
m_CorrespondingSourceObject: {fileID: 6033288213199496986, guid: bece9afbf3ddd49059dd73ba2cc986f6,
type: 3}
m_PrefabInstance: {fileID: 1886939754}
m_PrefabAsset: {fileID: 0}
--- !u!1 &2128464135

View File

@@ -1,14 +1,9 @@
// Crest Water System
// Copyright © 2024 Wave Harmonic. All rights reserved.
#if d_Unity_InputSystem && ENABLE_INPUT_SYSTEM
#define INPUT_SYSTEM_ENABLED
#endif
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.InputSystem;
namespace WaveHarmonic.Crest.Examples
{
@@ -17,6 +12,12 @@ namespace WaveHarmonic.Crest.Examples
#endif
sealed class ExamplesController : MonoBehaviour
{
[@DecoratedField, SerializeField]
KeyCode _Previous = KeyCode.Comma;
[@DecoratedField, SerializeField]
KeyCode _Next = KeyCode.Period;
[SerializeField]
List<GameObject> _Prefabs = new();
@@ -50,19 +51,11 @@ namespace WaveHarmonic.Crest.Examples
void Update()
{
#if INPUT_SYSTEM_ENABLED
if (Keyboard.current[Key.N].wasReleasedThisFrame)
#else
if (Input.GetKeyUp(KeyCode.N))
#endif
if (Input.GetKeyUp(_Previous))
{
Previous();
}
#if INPUT_SYSTEM_ENABLED
else if (Keyboard.current[Key.M].wasReleasedThisFrame)
#else
else if (Input.GetKeyUp(KeyCode.M))
#endif
else if (Input.GetKeyUp(_Next))
{
Next();
}

View File

@@ -59,7 +59,6 @@ Material:
- _BUILTIN_QueueControl: 0
- _BUILTIN_SrcBlend: 5
- _BUILTIN_ZWrite: 1
- _Crest_NormalMapTurbulenceStrength: 0.5
- _Crest_SSSDirectionalFalloff: 2
- _Crest_SSSEnabled: 1
- _Crest_SSSIntensity: 10

View File

@@ -56,27 +56,24 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: ce5a3f1aff978418c90b45d58f574528, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 0
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: 180
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 128
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.145
_WindAlignment: 0
_TimeLoopLength: Infinity
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 3
_Version: 2
references:
version: 2
RefIds:
@@ -310,7 +307,7 @@ MonoBehaviour:
_TimeSliceBoundsUpdateFrameCount: 1
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Version: 2
_Version: 1
_Camera: {fileID: 0}
_TimeProvider: {fileID: 0}
_WindZone: {fileID: 0}
@@ -338,10 +335,7 @@ MonoBehaviour:
_Resolution: 384
_GeometryDownSampleFactor: 4
_ExtentsSizeMultiplier: 100
_MultipleViewpoints: 0
_Viewpoint: {fileID: 0}
_CameraExclusions: -1
_DataBackgroundMode: 3
_CenterOfDetailDisplacementCorrection: 1
_SampleTerrainHeightForScale: 1
_ForceScaleChangeSmoothing: 0
@@ -377,11 +371,10 @@ MonoBehaviour:
_Portals:
rid: 7000983677634084867
_ShowWaterProxyPlane: 0
_EditModeFrameRate: 30
_FollowSceneCamera: 1
_EditorMultipleViewpoints: 1
_HeightQueries: 1
_Debug:
_SimulatePaused: 0
_AttachDebugGUI: 0
_ShowHiddenObjects: 0
_DisableFollowViewpoint: 0
@@ -391,8 +384,6 @@ MonoBehaviour:
_LogScaleChange: 0
_PauseOnScaleChange: 0
_IgnoreWavesForScaleChange: 0
_OverrideScale: 0
_ScaleOverride: 0
_ForceNoGraphics: 0
_Resources: {fileID: 11400000, guid: 0817af17dea584e5382e6216db162d4a, type: 2}
references:
@@ -406,17 +397,13 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 48
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 4096
_CollisionLayers: -1
_BakedWaveData: {fileID: 0}
_WaveSampling: 0
_WaveResolutionMultiplier: 1
_AttenuationInShallows: 0.85
_ShallowsMaximumDepth: 1000
_CollisionSource: 2
_CollisionLayers: -1
_MaximumQueryCount: 4096
_BakedWaveData: {fileID: 0}
- rid: 1001
type: {class: DepthLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -425,10 +412,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 512
_IncludeTerrainHeight: 0
_EnableSignedDistanceFields: 1
- rid: 1002
@@ -439,8 +422,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 45
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 30
_Prewarm: 1
_Settings: {fileID: 11400000, guid: e0a56d841e8854da48f505141f729c19, type: 2}
@@ -452,8 +433,6 @@ MonoBehaviour:
_Resolution: 512
_TextureFormatMode: 300
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 60
_AttenuationInShallows: 1
_Settings: {fileID: 0}
@@ -465,10 +444,6 @@ MonoBehaviour:
_Resolution: 128
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 1024
- rid: 1005
type: {class: ShadowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -477,8 +452,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 6
_Blur: 1
_BlurIterations: 1
_SimulationFrequency: 60
_DynamicSoftShadows: 1
_SoftJitterExtinctionFactor: 0.75
@@ -496,8 +469,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 5
_Blur: 0
_BlurIterations: 1
_DefaultClippingState: 0
- rid: 1007
type: {class: AlbedoLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
@@ -507,8 +478,6 @@ MonoBehaviour:
_Resolution: 768
_TextureFormatMode: 100
_TextureFormat: 8
_Blur: 0
_BlurIterations: 1
- rid: 1008
type: {class: AbsorptionLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -517,8 +486,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 7
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 1.026, g: 2.085, b: 2.5500002, a: 0.306}
_ShorelineColorMaximumDistance: 10
@@ -531,8 +498,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 23
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 0, g: 0.588, b: 1.2, a: 6}
_ShorelineColorMaximumDistance: 10
@@ -542,7 +507,6 @@ MonoBehaviour:
data:
_Version: 0
_Enabled: 1
_MeshType: 0
_Layer: 4
_Material: {fileID: 2100000, guid: d340825b528984c3ea62563460223aa4, type: 2}
_VolumeMaterial: {fileID: 0}
@@ -550,7 +514,6 @@ MonoBehaviour:
_CastShadows: 0
_WaterBodyCulling: 1
_TimeSliceBoundsUpdateFrameCount: 1
_CameraExclusions: 6
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Debug:
@@ -562,17 +525,17 @@ MonoBehaviour:
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: 238e45299a5ec46308e9bf99ddf67963, type: 2}
_CameraExclusions: 6
- rid: 1720327093404827648
type: {class: UnderwaterRenderer, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: f2b096e4d95e646c49d48ece0afa0547, type: 2}
_EnvironmentalLightingEnable: 0
_EnvironmentalLightingWeight: 1
_EnvironmentalLightingVolumeProfile: {fileID: 0}
_CameraExclusions: 6
_AllCameras: 0
_CopyWaterMaterialParametersEachFrame: 1
_FarPlaneMultiplier: 0.68
_CullLimit: 0.001
@@ -583,8 +546,6 @@ MonoBehaviour:
_DisableHeightAboveWaterOptimization: 0
_DisableArtifactCorrection: 0
_OnlyReflectionCameras: 0
_Version: 0
_AllCameras: 0
- rid: 1720327093404827649
type: {class: WaterReflections, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -595,13 +556,13 @@ MonoBehaviour:
serializedVersion: 2
m_Bits: 2147483649
_Resolution: 1024
_Overscan: 1.5
_RenderOnlySingleCamera: 0
_Sky: 1
_DisablePixelLights: 1
_DisableShadows: 0
_HDR: 1
_Stencil: 0
_AllowMSAA: 0
_QualitySettingsOverride:
_OverrideLodBias: 0
_LodBias: 0.5
@@ -620,8 +581,6 @@ MonoBehaviour:
_Debug:
_ShowHiddenObjects: 0
_DisableRecursiveRendering: 0
_ForceCompatibility: 0
_AllowMSAA: 0
- rid: 7000983677634084866
type: {class: LevelLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -630,8 +589,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 300
_TextureFormat: 45
_Blur: 0
_BlurIterations: 4
- rid: 7000983677634084867
type: {class: PortalRenderer, ns: WaveHarmonic.Crest.Portals, asm: WaveHarmonic.Crest}
data:

View File

@@ -648,7 +648,7 @@ MonoBehaviour:
_TimeSliceBoundsUpdateFrameCount: 1
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Version: 2
_Version: 1
_Camera: {fileID: 0}
_TimeProvider: {fileID: 0}
_WindZone: {fileID: 0}
@@ -676,10 +676,7 @@ MonoBehaviour:
_Resolution: 384
_GeometryDownSampleFactor: 2
_ExtentsSizeMultiplier: 100
_MultipleViewpoints: 0
_Viewpoint: {fileID: 0}
_CameraExclusions: -1
_DataBackgroundMode: 3
_CenterOfDetailDisplacementCorrection: 1
_SampleTerrainHeightForScale: 1
_ForceScaleChangeSmoothing: 0
@@ -715,11 +712,10 @@ MonoBehaviour:
_Portals:
rid: 9154139594981113870
_ShowWaterProxyPlane: 0
_EditModeFrameRate: 30
_FollowSceneCamera: 1
_EditorMultipleViewpoints: 1
_HeightQueries: 1
_Debug:
_SimulatePaused: 0
_AttachDebugGUI: 0
_ShowHiddenObjects: 0
_DisableFollowViewpoint: 0
@@ -729,8 +725,6 @@ MonoBehaviour:
_LogScaleChange: 0
_PauseOnScaleChange: 0
_IgnoreWavesForScaleChange: 0
_OverrideScale: 0
_ScaleOverride: 0
_ForceNoGraphics: 0
_Resources: {fileID: 11400000, guid: 0817af17dea584e5382e6216db162d4a, type: 2}
references:
@@ -744,8 +738,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 7
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 1.026, g: 2.085, b: 2.5500002, a: 0.306}
_ShorelineColorMaximumDistance: 10
@@ -758,8 +750,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 23
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 0, g: 0.588, b: 1.2, a: 6}
_ShorelineColorMaximumDistance: 10
@@ -769,7 +759,6 @@ MonoBehaviour:
data:
_Version: 0
_Enabled: 1
_MeshType: 0
_Layer: 4
_Material: {fileID: 2100000, guid: aa74fe26a90564079a48cdae97645f7b, type: 2}
_VolumeMaterial: {fileID: 0}
@@ -778,7 +767,6 @@ MonoBehaviour:
_CastShadows: 0
_WaterBodyCulling: 1
_TimeSliceBoundsUpdateFrameCount: 1
_CameraExclusions: 6
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Debug:
@@ -790,7 +778,6 @@ MonoBehaviour:
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: 238e45299a5ec46308e9bf99ddf67963, type: 2}
_CameraExclusions: 6
- rid: 9154139594981113859
type: {class: AnimatedWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -799,17 +786,13 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 48
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 4096
_CollisionLayers: -1
_BakedWaveData: {fileID: 0}
_WaveSampling: 0
_WaveResolutionMultiplier: 1
_AttenuationInShallows: 0.95
_ShallowsMaximumDepth: 1000
_CollisionSource: 2
_CollisionLayers: -1
_MaximumQueryCount: 4096
_BakedWaveData: {fileID: 0}
- rid: 9154139594981113860
type: {class: DepthLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -818,10 +801,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 512
_IncludeTerrainHeight: 0
_EnableSignedDistanceFields: 1
- rid: 9154139594981113861
@@ -832,8 +811,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 300
_TextureFormat: 45
_Blur: 0
_BlurIterations: 4
- rid: 9154139594981113862
type: {class: FoamLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -842,8 +819,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 45
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 30
_Prewarm: 1
_Settings: {fileID: 0}
@@ -855,8 +830,6 @@ MonoBehaviour:
_Resolution: 512
_TextureFormatMode: 300
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 60
_AttenuationInShallows: 1
_Settings: {fileID: 0}
@@ -868,10 +841,6 @@ MonoBehaviour:
_Resolution: 128
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 1024
- rid: 9154139594981113865
type: {class: ShadowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -880,8 +849,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 6
_Blur: 1
_BlurIterations: 1
_SimulationFrequency: 60
_DynamicSoftShadows: 1
_SoftJitterExtinctionFactor: 0.75
@@ -899,8 +866,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 5
_Blur: 0
_BlurIterations: 1
_DefaultClippingState: 0
- rid: 9154139594981113867
type: {class: AlbedoLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
@@ -910,8 +875,6 @@ MonoBehaviour:
_Resolution: 768
_TextureFormatMode: 100
_TextureFormat: 8
_Blur: 0
_BlurIterations: 1
- rid: 9154139594981113868
type: {class: WaterReflections, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -922,13 +885,13 @@ MonoBehaviour:
serializedVersion: 2
m_Bits: 1
_Resolution: 512
_Overscan: 1.5
_RenderOnlySingleCamera: 0
_Sky: 1
_DisablePixelLights: 1
_DisableShadows: 1
_HDR: 1
_Stencil: 0
_AllowMSAA: 0
_QualitySettingsOverride:
_OverrideLodBias: 0
_LodBias: 0.5
@@ -947,18 +910,17 @@ MonoBehaviour:
_Debug:
_ShowHiddenObjects: 0
_DisableRecursiveRendering: 0
_ForceCompatibility: 0
_AllowMSAA: 0
- rid: 9154139594981113869
type: {class: UnderwaterRenderer, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: f2b096e4d95e646c49d48ece0afa0547, type: 2}
_EnvironmentalLightingEnable: 0
_EnvironmentalLightingWeight: 1
_EnvironmentalLightingVolumeProfile: {fileID: 0}
_CameraExclusions: 6
_AllCameras: 0
_CopyWaterMaterialParametersEachFrame: 1
_FarPlaneMultiplier: 0.68
_CullLimit: 0.001
@@ -969,8 +931,6 @@ MonoBehaviour:
_DisableHeightAboveWaterOptimization: 0
_DisableArtifactCorrection: 0
_OnlyReflectionCameras: 0
_Version: 0
_AllCameras: 0
- rid: 9154139594981113870
type: {class: PortalRenderer, ns: WaveHarmonic.Crest.Portals, asm: WaveHarmonic.Crest}
data:

View File

@@ -76,8 +76,6 @@ Material:
- _BUILTIN_SrcBlend: 5
- _BUILTIN_ZWrite: 1
- _Crest_Anisotropy: 0
- _Crest_NormalMapTurbulenceCoverage: 1
- _Crest_NormalMapTurbulenceStrength: 1
- _CullMode: 0
- _CullModeForward: 0
- _DstBlend: 10

View File

@@ -280,7 +280,7 @@ MonoBehaviour:
_TimeSliceBoundsUpdateFrameCount: 1
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Version: 2
_Version: 1
_Camera: {fileID: 0}
_TimeProvider: {fileID: 0}
_WindZone: {fileID: 0}
@@ -308,10 +308,7 @@ MonoBehaviour:
_Resolution: 384
_GeometryDownSampleFactor: 2
_ExtentsSizeMultiplier: 100
_MultipleViewpoints: 0
_Viewpoint: {fileID: 0}
_CameraExclusions: -1
_DataBackgroundMode: 3
_CenterOfDetailDisplacementCorrection: 1
_SampleTerrainHeightForScale: 1
_ForceScaleChangeSmoothing: 0
@@ -347,11 +344,10 @@ MonoBehaviour:
_Portals:
rid: 162836781179600935
_ShowWaterProxyPlane: 0
_EditModeFrameRate: 30
_FollowSceneCamera: 1
_EditorMultipleViewpoints: 1
_HeightQueries: 1
_Debug:
_SimulatePaused: 0
_AttachDebugGUI: 0
_ShowHiddenObjects: 0
_DisableFollowViewpoint: 0
@@ -361,8 +357,6 @@ MonoBehaviour:
_LogScaleChange: 0
_PauseOnScaleChange: 0
_IgnoreWavesForScaleChange: 0
_OverrideScale: 0
_ScaleOverride: 0
_ForceNoGraphics: 0
_Resources: {fileID: 11400000, guid: 0817af17dea584e5382e6216db162d4a, type: 2}
references:
@@ -376,8 +370,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 7
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 1.026, g: 2.085, b: 2.5500002, a: 0.306}
_ShorelineColorMaximumDistance: 10
@@ -390,8 +382,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 200
_TextureFormat: 23
_Blur: 0
_BlurIterations: 1
_ShorelineColorSource: 0
_ShorelineColor: {r: 0, g: 0.588, b: 1.2, a: 6}
_ShorelineColorMaximumDistance: 10
@@ -401,7 +391,6 @@ MonoBehaviour:
data:
_Version: 0
_Enabled: 1
_MeshType: 0
_Layer: 4
_Material: {fileID: 2100000, guid: d6e4d43be817745be8c654fe12d10077, type: 2}
_VolumeMaterial: {fileID: 0}
@@ -410,7 +399,6 @@ MonoBehaviour:
_CastShadows: 0
_WaterBodyCulling: 1
_TimeSliceBoundsUpdateFrameCount: 1
_CameraExclusions: 6
_SurfaceSelfIntersectionFixMode: 4
_AllowRenderQueueSorting: 0
_Debug:
@@ -422,7 +410,6 @@ MonoBehaviour:
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: 238e45299a5ec46308e9bf99ddf67963, type: 2}
_CameraExclusions: 6
- rid: 162836781179600924
type: {class: AnimatedWavesLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -431,17 +418,13 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 48
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 4096
_CollisionLayers: -1
_BakedWaveData: {fileID: 0}
_WaveSampling: 0
_WaveResolutionMultiplier: 1
_AttenuationInShallows: 0.95
_ShallowsMaximumDepth: 1000
_CollisionSource: 2
_CollisionLayers: -1
_MaximumQueryCount: 4096
_BakedWaveData: {fileID: 0}
- rid: 162836781179600925
type: {class: DepthLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -450,10 +433,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 512
_IncludeTerrainHeight: 0
_EnableSignedDistanceFields: 1
- rid: 162836781179600926
@@ -464,8 +443,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 300
_TextureFormat: 45
_Blur: 0
_BlurIterations: 4
- rid: 162836781179600927
type: {class: FoamLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -474,8 +451,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 45
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 30
_Prewarm: 0
_Settings: {fileID: 11400000, guid: fb1aaea1e5e8d4ba6b718be97218a083, type: 2}
@@ -487,8 +462,6 @@ MonoBehaviour:
_Resolution: 512
_TextureFormatMode: 300
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_SimulationFrequency: 60
_AttenuationInShallows: 1
_Settings: {fileID: 11400000, guid: 8dea483b97d254faa99deffab2bbfd05, type: 2}
@@ -500,10 +473,6 @@ MonoBehaviour:
_Resolution: 128
_TextureFormatMode: 100
_TextureFormat: 46
_Blur: 0
_BlurIterations: 1
_QuerySource: 1
_MaximumQueryCount: 1024
- rid: 162836781179600930
type: {class: ShadowLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -512,8 +481,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 6
_Blur: 1
_BlurIterations: 1
_SimulationFrequency: 60
_DynamicSoftShadows: 1
_SoftJitterExtinctionFactor: 0.75
@@ -531,8 +498,6 @@ MonoBehaviour:
_Resolution: 256
_TextureFormatMode: 100
_TextureFormat: 5
_Blur: 0
_BlurIterations: 1
_DefaultClippingState: 0
- rid: 162836781179600932
type: {class: AlbedoLod, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
@@ -542,8 +507,6 @@ MonoBehaviour:
_Resolution: 768
_TextureFormatMode: 100
_TextureFormat: 8
_Blur: 0
_BlurIterations: 1
- rid: 162836781179600933
type: {class: WaterReflections, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
@@ -554,13 +517,13 @@ MonoBehaviour:
serializedVersion: 2
m_Bits: 1
_Resolution: 256
_Overscan: 1.5
_RenderOnlySingleCamera: 0
_Sky: 0
_DisablePixelLights: 1
_DisableShadows: 1
_HDR: 1
_Stencil: 0
_AllowMSAA: 0
_QualitySettingsOverride:
_OverrideLodBias: 0
_LodBias: 0.5
@@ -579,18 +542,17 @@ MonoBehaviour:
_Debug:
_ShowHiddenObjects: 0
_DisableRecursiveRendering: 0
_ForceCompatibility: 0
_AllowMSAA: 0
- rid: 162836781179600934
type: {class: UnderwaterRenderer, ns: WaveHarmonic.Crest, asm: WaveHarmonic.Crest}
data:
_Version: 0
_Enabled: 1
_Layer: 4
_Material: {fileID: 2100000, guid: f2b096e4d95e646c49d48ece0afa0547, type: 2}
_EnvironmentalLightingEnable: 0
_EnvironmentalLightingWeight: 1
_EnvironmentalLightingVolumeProfile: {fileID: 0}
_CameraExclusions: 6
_AllCameras: 0
_CopyWaterMaterialParametersEachFrame: 1
_FarPlaneMultiplier: 0.68
_CullLimit: 0.001
@@ -601,8 +563,6 @@ MonoBehaviour:
_DisableHeightAboveWaterOptimization: 0
_DisableArtifactCorrection: 0
_OnlyReflectionCameras: 0
_Version: 0
_AllCameras: 0
- rid: 162836781179600935
type: {class: PortalRenderer, ns: WaveHarmonic.Crest.Portals, asm: WaveHarmonic.Crest}
data:
@@ -721,27 +681,24 @@ MonoBehaviour:
_Spectrum: {fileID: 11400000, guid: 30151f29a777a41f39698cb262ee599b, type: 2}
_EvaluateSpectrumAtRunTimeEveryFrame: 1
_RespectShallowWaterAttenuation: 1
_SeaLevelOnly: 0
_OverrideGlobalWindDirection: 1
_WaveDirectionHeadingAngle: -90
_OverrideGlobalWindSpeed: 0
_WindSpeed: 20
_Resolution: 128
_IncludeInDropDetailHeightBasedOnWaves: 0
_DrawSlicesInEditor: 0
_AlphaSource: 0
_OverrideGlobalWindTurbulence: 1
_WindTurbulence: 0.145
_WindAlignment: 0
_TimeLoopLength: Infinity
_OverrideCulling: 0
_MaximumVerticalDisplacement: 10
_MaximumHorizontalDisplacement: 15
_EnableBakedCollision: 0
_TimeResolution: 4
_SmallestWavelengthRequired: 2
_BakedTimeLoopLength: 32
_Version: 3
_Version: 2
references:
version: 2
RefIds:

View File

@@ -1116,7 +1116,7 @@ Transform:
m_GameObject: {fileID: 909052969}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -53, y: -0.75, z: -55.52}
m_LocalPosition: {x: -53, y: -1.75, z: -55.52}
m_LocalScale: {x: 100, y: 100, z: 100}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -1177,6 +1177,7 @@ MonoBehaviour:
topConnector: {fileID: 209664165}
bottomConnector: {fileID: 332592725}
waterline: {fileID: 223862664}
collider: {fileID: 0}
--- !u!1 &920563739
GameObject:
m_ObjectHideFlags: 0
@@ -2143,9 +2144,8 @@ MonoBehaviour:
m_EditorClassIdentifier: Assembly-CSharp::Test.BobberTest
rb: {fileID: 1518432885}
line: {fileID: 8144283643417267672}
lineLength: 3
lineLength: 2
floatLength: 1
Tension: 0
--- !u!1 &1529912227
GameObject:
m_ObjectHideFlags: 0
@@ -2520,6 +2520,7 @@ MonoBehaviour:
topConnector: {fileID: 1549463780}
bottomConnector: {fileID: 726690746}
waterline: {fileID: 1627634078}
collider: {fileID: 0}
--- !u!1 &1690494754
GameObject:
m_ObjectHideFlags: 0
@@ -2642,6 +2643,7 @@ MonoBehaviour:
topConnector: {fileID: 1224158073}
bottomConnector: {fileID: 1336541387}
waterline: {fileID: 666518409}
collider: {fileID: 0}
--- !u!4 &1866024594 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 8356280719142672529, guid: 84f17dfc7c7a7485296643a4e64d6200, type: 3}
@@ -2660,7 +2662,6 @@ GameObject:
- component: {fileID: 1876288043}
- component: {fileID: 1876288042}
- component: {fileID: 1876288041}
- component: {fileID: 1876288046}
m_Layer: 0
m_Name: Capsule
m_TagString: Untagged
@@ -2789,18 +2790,6 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1876288046
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1876288040}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d5bfa3f53f894e7a87315e5cbc220e12, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::Test.CollisionTest
--- !u!1 &1899034788
GameObject:
m_ObjectHideFlags: 0
@@ -3013,6 +3002,7 @@ MonoBehaviour:
topConnector: {fileID: 1828830192}
bottomConnector: {fileID: 1690494755}
waterline: {fileID: 623951639}
collider: {fileID: 0}
--- !u!1 &1586000250375033
GameObject:
m_ObjectHideFlags: 0
@@ -3055,6 +3045,7 @@ GameObject:
m_Component:
- component: {fileID: 4046714554611455}
- component: {fileID: 309487077947173374}
- component: {fileID: 309487077947173375}
m_Layer: 0
m_Name: bob_25002
m_TagString: Untagged
@@ -3408,6 +3399,30 @@ MonoBehaviour:
topConnector: {fileID: 4466248854207531}
bottomConnector: {fileID: 4064788320456926}
waterline: {fileID: 4902566405131541}
collider: {fileID: 309487077947173375}
--- !u!136 &309487077947173375
CapsuleCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1818733047993069}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.004
m_Height: 0.025
m_Direction: 1
m_Center: {x: 0, y: 0.04, z: 0}
--- !u!4 &389927712696538647
Transform:
m_ObjectHideFlags: 0
@@ -4058,7 +4073,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!33 &2096859472366292387
MeshFilter:
m_ObjectHideFlags: 0
@@ -4679,6 +4694,7 @@ MonoBehaviour:
topConnector: {fileID: 1159196036679945669}
bottomConnector: {fileID: 4333116976202729697}
waterline: {fileID: 7961972470609608556}
collider: {fileID: 0}
--- !u!1 &3062767698477047043
GameObject:
m_ObjectHideFlags: 0
@@ -5095,6 +5111,7 @@ MonoBehaviour:
topConnector: {fileID: 3065647928701135441}
bottomConnector: {fileID: 3065526845897688740}
waterline: {fileID: 3068616352015752047}
collider: {fileID: 0}
--- !u!54 &3372919389234347911
Rigidbody:
m_ObjectHideFlags: 0
@@ -5620,6 +5637,7 @@ MonoBehaviour:
topConnector: {fileID: 9066712976035742038}
bottomConnector: {fileID: 5901816832231670898}
waterline: {fileID: 269017554130809855}
collider: {fileID: 0}
--- !u!136 &4959874663812492083
CapsuleCollider:
m_ObjectHideFlags: 0
@@ -6521,7 +6539,9 @@ MonoBehaviour:
uprightAxis: 1
extraDragInWater: 0.8
extraAngularDragInWater: 0.8
Water: {fileID: 0}
nearUprightDampingReduce: 0.6
nearUprightAngleDeg: 12
_waterRenderer: {fileID: 2531380344179187550}
_Layer: 1
_ObjectWidth: 3
drawDebug: 0
@@ -6752,7 +6772,6 @@ GameObject:
m_Component:
- component: {fileID: 8107394097429219735}
- component: {fileID: 8094040829892155629}
- component: {fileID: 8264424693587136968}
- component: {fileID: 8264424693587136966}
- component: {fileID: 6135364979465448005}
- component: {fileID: 8264424693587136969}
@@ -6762,7 +6781,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!1 &8112602444043959218
GameObject:
m_ObjectHideFlags: 0
@@ -7266,29 +7285,6 @@ ConfigurableJoint:
m_EnablePreprocessing: 0
m_MassScale: 1
m_ConnectedMassScale: 1
--- !u!136 &8264424693587136968
CapsuleCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8112599368562234729}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.004
m_Height: 0.025
m_Direction: 1
m_Center: {x: 0, y: 0.04, z: 0}
--- !u!114 &8264424693587136969
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -7328,15 +7324,17 @@ MonoBehaviour:
m_PostInfinity: 2
m_RotationOrder: 4
verticalDamping: 3
angularDamping: 0.6
angularDamping: 0.05
uprightSpring: 0
uprightDamping: 0.5
uprightAxis: 1
extraDragInWater: 0.8
extraAngularDragInWater: 0.8
Water: {fileID: 4652288250947343381}
extraAngularDragInWater: 0.3
nearUprightDampingReduce: 0.6
nearUprightAngleDeg: 12
_waterRenderer: {fileID: 2531380344179187550}
_Layer: 1
_ObjectWidth: 0.2
_ObjectWidth: 3
drawDebug: 0
--- !u!153 &8264839114692736908
ConfigurableJoint:

View File

@@ -24,5 +24,6 @@ namespace NBF
/// 水线
/// </summary>
public Transform waterline;
}
}

View File

@@ -19,7 +19,7 @@ public class RopeFishLineEditor : Editor
if (GUILayout.Button("打印总长度"))
{
Debug.Log($"总长度={_target.GetCurrentLength()} 目标长度={_target.GetTargetLength()}");
Debug.Log($"总长度={_target.GetCurrentLength()} 目标长度={_target.GetTargetLength()} smoot={_target.GetLengthSmoothVel()} relLen={_target.GetLengthByPoints()}");
}
// serializedObject.Update();
// EditorGUILayout.PropertyField(lookAtPoint);

View File

@@ -235,6 +235,27 @@ public class Rope : MonoBehaviour
public void SetTargetLength(float lengthMeters) => _targetLength = Mathf.Max(0f, lengthMeters);
public float GetCurrentLength() => _currentLength;
public float GetTargetLength() => _targetLength;
public float GetLengthSmoothVel() => _lengthSmoothVel;
public float GetLengthByPoints()
{
if (_rPoints == null || _lineRenderer == null) return 0f;
int count = _lineRenderer.positionCount;
if (count < 2) return 0f;
float totalLength = 0f;
for (int i = 1; i < count; i++)
{
Vector3 a = _rPoints[i - 1];
Vector3 b = _rPoints[i];
totalLength += Vector3.Distance(a, b);
}
return totalLength;
}
private void FixedUpdate()
{

View File

@@ -9,6 +9,8 @@ namespace NBF
// transform.position = Rod.lineHandler.LineConnector_1.transform.position;
SetParent(Rod.Line.Bobber.transform);
transform.localPosition = Vector3.zero;
var buoyancy = GetComponentInParent<CapsuleBuoyancyStable>();
buoyancy.InitBobber();
}
}
}

View File

@@ -121,7 +121,7 @@ namespace NBF
public void SetObiRopeStretch(float value)
{
Log.Error($"SetObiRopeStretch={value}");
fishingRope.SetTargetLength(value - 0.2f);
fishingRope.SetTargetLength(value);
}
}
}

View File

@@ -4,7 +4,7 @@ using UnityEngine;
using WaveHarmonic.Crest;
[DisallowMultipleComponent]
[RequireComponent(typeof(Rigidbody), typeof(CapsuleCollider))]
[RequireComponent(typeof(Rigidbody))]
public class CapsuleBuoyancyStable : MonoBehaviour
{
[Header("Buoyancy")] [Tooltip("完全浸没时总浮力 = mass*g*buoyancyScale。>1 更浮。")]
@@ -15,8 +15,8 @@ public class CapsuleBuoyancyStable : MonoBehaviour
[Tooltip("浸没比例曲线0=刚碰水, 1=充分在水下)。")] public AnimationCurve submergenceCurve = AnimationCurve.Linear(0, 0, 1, 1);
[Header("Damping")] [Tooltip("上浮方向速度阻尼(越大越不弹)。")]
public float verticalDamping = 3.0f;
[Header("Damping")] [Tooltip("上浮方向速度阻尼(越大越不弹)。本版本只在“浮力中心”施加一次不再在每个采样点施加避免90°附近转不动。")]
public float verticalDamping = 0.6f;
[Tooltip("整体角速度阻尼(只施加一次,不要太大)。")] public float angularDamping = 0.6f;
@@ -31,11 +31,17 @@ public class CapsuleBuoyancyStable : MonoBehaviour
[Header("Water Drag")] public float extraDragInWater = 0.8f;
public float extraAngularDragInWater = 0.8f;
[Header("Anti-stiction near upright")]
[Tooltip("在接近竖直(例如90->80度附近)时降低vertical damping避免“粘住”。0=关闭。")]
[Range(0f, 1f)]
public float nearUprightDampingReduce = 0.6f;
[Tooltip("接近竖直的判定角度(度)。例如 12 表示在 |angle| < 12° 附近逐步降低阻尼。")] [Range(1f, 30f)]
public float nearUprightAngleDeg = 12f;
#region Crest5相关信息
public Transform Water;
private WaterRenderer _waterRenderer;
public WaterRenderer _waterRenderer;
[Tooltip("要瞄准哪一层水的碰撞层。")] [SerializeField]
CollisionLayer _Layer = CollisionLayer.AfterAnimatedWaves;
@@ -45,11 +51,7 @@ public class CapsuleBuoyancyStable : MonoBehaviour
readonly SampleFlowHelper _SampleFlowHelper = new();
/// <summary>
/// 查询水面信息点位
/// </summary>
Vector3[] _QueryPoints;
Vector3[] _QueryResultDisplacements;
Vector3[] _QueryResultVelocities;
Vector3[] _QueryResultNormal;
@@ -62,113 +64,147 @@ public class CapsuleBuoyancyStable : MonoBehaviour
CapsuleCollider _cap;
float _baseDrag, _baseAngularDrag;
[SerializeField] private bool _init = false;
void Awake()
{
_rb = GetComponent<Rigidbody>();
_cap = GetComponent<CapsuleCollider>();
_baseDrag = _rb.linearDamping;
_baseAngularDrag = _rb.angularDamping;
}
private void Start()
void Start()
{
int length = Mathf.Max(3, samplePoints);
_QueryPoints = new Vector3[length];
_QueryResultDisplacements = new Vector3[length];
_QueryResultVelocities = new Vector3[length];
_QueryResultNormal = new Vector3[length];
if(Water)
_waterRenderer = Water.GetComponent<WaterRenderer>();
}
public void InitBobber()
{
if (_waterRenderer == null && SceneSettings.Instance)
{
_waterRenderer = SceneSettings.Instance.Water;
}
_cap = GetComponentInChildren<CapsuleCollider>();
_init = true;
}
void FixedUpdate()
{
if (Water)
{
}
if (!_init) return;
if (!_waterRenderer) return;
if (!_waterRenderer)
{
return;
}
GetWorldCapsule(out Vector3 a, out Vector3 b, out float radius);
int n = Mathf.Max(3, samplePoints);
if (_QueryPoints == null || _QueryPoints.Length != n)
{
_QueryPoints = new Vector3[n];
_QueryResultDisplacements = new Vector3[n];
_QueryResultVelocities = new Vector3[n];
_QueryResultNormal = new Vector3[n];
}
float fullBuoyancy = _rb.mass * Physics.gravity.magnitude * buoyancyScale;
float perPointMax = fullBuoyancy / n;
float subSum = 0f;
int wetCount = 0;
for (int i = 0; i < _QueryPoints.Length; i++)
// 采样点
for (int i = 0; i < n; i++)
{
float t = (float)i / (n - 1);
Vector3 p = Vector3.Lerp(a, b, t);
_QueryPoints[i] = p;
_QueryPoints[i] = Vector3.Lerp(a, b, t);
}
// 查询
// Crest 查询
var collisions = _waterRenderer.AnimatedWavesLod.Provider;
collisions.Query(GetHashCode(), _ObjectWidth, _QueryPoints, _QueryResultDisplacements,
_QueryResultNormal, _QueryResultVelocities, _Layer);
float subSum = 0f;
int wetCount = 0;
// 用于计算“浮力中心”(Center of Buoyancy)与水流速度平均
Vector3 cobSum = Vector3.zero;
Vector3 wvSum = Vector3.zero;
float cobW = 0f;
// 1) 多点只加浮力不再在每点加vertical damping
for (int i = 0; i < n; i++)
{
float t = (float)i / (n - 1);
Vector3 p = Vector3.Lerp(a, b, t);
Vector3 p = _QueryPoints[i];
float waterH =
_QueryResultDisplacements[i].y + _waterRenderer.SeaLevel; //GaiaConstants.Water.GetWaterHeight(p);
float depth = waterH - p.y; // >0 在水下
float waterH = _QueryResultDisplacements[i].y + _waterRenderer.SeaLevel;
float depth = waterH - p.y;
float sub = Mathf.InverseLerp(-radius, radius, depth); // 0..1
float sub = Mathf.InverseLerp(-radius, radius, depth);
if (sub <= 0f) continue;
sub = Mathf.Clamp01(submergenceCurve.Evaluate(sub));
subSum += sub;
wetCount++;
Vector3 buoyDir = Vector3.up;
cobSum += p * sub;
wvSum += _QueryResultVelocities[i] * sub;
cobW += sub;
// Vector3 waterVel = GaiaConstants.Water.GetWaterVelocity(p);
Vector3 waterVel = _QueryResultVelocities[i];
Vector3 pointVel = _rb.GetPointVelocity(p);
Vector3 relVel = pointVel - waterVel;
// 浮力
Vector3 buoyForce = buoyDir * (perPointMax * sub);
// 只阻尼上浮方向速度分量(防弹跳)
float vUp = Vector3.Dot(relVel, buoyDir);
Vector3 dampForce = -buoyDir * (vUp * verticalDamping * _rb.mass * sub);
_rb.AddForceAtPosition(buoyForce + dampForce, p, ForceMode.Force);
Vector3 buoyForce = Vector3.up * (perPointMax * sub);
_rb.AddForceAtPosition(buoyForce, p, ForceMode.Force);
if (drawDebug)
{
Debug.DrawLine(p, p + buoyForce / (_rb.mass * 10f), Color.cyan, 0f, false);
Debug.DrawLine(p, p + dampForce / (_rb.mass * 10f), Color.yellow, 0f, false);
}
}
float subAvg = (wetCount > 0) ? (subSum / wetCount) : 0f;
// 角阻尼:只加一次(关键修复点
// 2) vertical damping只在“浮力中心”施加一次关键修复不再产生抑制旋转的力矩
if (subAvg > 0f && cobW > 1e-6f)
{
Vector3 cob = cobSum / cobW;
Vector3 waterVelAvg = wvSum / cobW;
// 接近竖直时降低vertical damping避免90->80度“粘住”
float vdScale = 1f;
if (nearUprightDampingReduce > 0f)
{
Vector3 axisWorld = GetAxisWorld(uprightAxis);
float angleFromUp = Vector3.Angle(axisWorld, Vector3.up); // 0=竖直
float t = Mathf.Clamp01(angleFromUp / Mathf.Max(0.001f, nearUprightAngleDeg));
// t=0(很竖直) -> 1(离开竖直)
vdScale = Mathf.Lerp(1f - nearUprightDampingReduce, 1f, t);
}
Vector3 pointVel = _rb.GetPointVelocity(cob);
Vector3 relVel = pointVel - waterVelAvg;
float vUp = Vector3.Dot(relVel, Vector3.up);
Vector3 dampForce = -Vector3.up * (vUp * verticalDamping * _rb.mass * subAvg * vdScale);
_rb.AddForceAtPosition(dampForce, cob, ForceMode.Force);
if (drawDebug)
{
Debug.DrawLine(cob, cob + dampForce / (_rb.mass * 10f), Color.yellow, 0f, false);
}
}
// 3) 角阻尼:只加一次
if (subAvg > 0f)
{
_rb.AddTorque(-_rb.angularVelocity * (angularDamping * _rb.mass * subAvg), ForceMode.Force);
}
// 可选:upright 稳定器(更像“浮漂自动立起来”
// 4) upright(保持你原逻辑
if (subAvg > 0f && uprightSpring > 0f)
{
Vector3 axisWorld = GetAxisWorld(uprightAxis);
Vector3 targetUp = Vector3.up;
// 误差轴axisWorld 需要对齐 targetUp也可反过来按你浮漂模型选
Vector3 errorAxis = Vector3.Cross(axisWorld, targetUp);
float errorMag = errorAxis.magnitude;
@@ -176,7 +212,6 @@ public class CapsuleBuoyancyStable : MonoBehaviour
{
errorAxis /= errorMag;
// “弹簧”力矩 + 阻尼(防止在两个角度间抽动)
Vector3 springTorque = errorAxis * (uprightSpring * errorMag * _rb.mass);
Vector3 dampTorque = -_rb.angularVelocity * (uprightDamping * _rb.mass);
@@ -184,7 +219,7 @@ public class CapsuleBuoyancyStable : MonoBehaviour
}
}
// 入水整体 drag
// 5) 入水 drag
if (subAvg > 0.001f)
{
_rb.linearDamping = _baseDrag + extraDragInWater * subAvg;
@@ -210,7 +245,7 @@ public class CapsuleBuoyancyStable : MonoBehaviour
void GetWorldCapsule(out Vector3 a, out Vector3 b, out float radius)
{
Vector3 lossy = transform.lossyScale;
int dir = _cap.direction; // 0=X,1=Y,2=Z
int dir = _cap.direction;
float scaleAlong = (dir == 0) ? Mathf.Abs(lossy.x) : (dir == 1) ? Mathf.Abs(lossy.y) : Mathf.Abs(lossy.z);
@@ -232,16 +267,14 @@ public class CapsuleBuoyancyStable : MonoBehaviour
b = center + half;
}
private void OnDrawGizmosSelected()
void OnDrawGizmosSelected()
{
if (drawDebug)
{
// 绘制 Rigidbody 的重心点位
Vector3 centerOfMassWorld = transform.TransformPoint(_rb != null ? _rb.centerOfMass : Vector3.zero);
Gizmos.color = Color.cyan;
Gizmos.DrawSphere(centerOfMassWorld, 0.1f);
Gizmos.DrawLine(centerOfMassWorld, centerOfMassWorld + Vector3.up * 0.5f);
}
if (!drawDebug) return;
if (_rb == null) _rb = GetComponent<Rigidbody>();
Vector3 centerOfMassWorld = transform.TransformPoint(_rb != null ? _rb.centerOfMass : Vector3.zero);
Gizmos.color = Color.cyan;
Gizmos.DrawSphere(centerOfMassWorld, 0.1f);
Gizmos.DrawLine(centerOfMassWorld, centerOfMassWorld + Vector3.up * 0.5f);
}
}

View File

@@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier: "UMotionEditor.dll::\u0389\u038A\u038A\u038A\u038A\u0389\u038A\u0389\u0389\u0389\u0389\u0389\u0389\u0389\u038A\u038A\u0389\u038A\u038A\u0389\u038A\u0389\u0389\u0389\u0389\u038A\u0389\u038A\u038A\u038A\u038A\u038A\u038A\u038A\u0389\u038A\u038A\u038A\u038A\u0389\u038A\u0389\u0389\u038A\u0389\u038A\u0389"
GeneralStates:
LoadedProjectGUID:
valueInternal: cb2a26e96dc371540865105d88443361
valueInternal:
RecentlyOpenedProjectPath:
valueInternal: Assets\ResRaw\AnimEditor
RecentlyOpenedProjectGUIDsList: