还原水插件
This commit is contained in:
@@ -9,7 +9,7 @@ namespace WaveHarmonic.Crest
|
||||
{
|
||||
[SerializeField, HideInInspector]
|
||||
#pragma warning disable 414
|
||||
int _Version = 2;
|
||||
int _Version = 1;
|
||||
#pragma warning restore 414
|
||||
|
||||
/// <inheritdoc/>
|
||||
@@ -33,15 +33,6 @@ namespace WaveHarmonic.Crest
|
||||
|
||||
_Version = 1;
|
||||
}
|
||||
|
||||
if (_Version < 2)
|
||||
{
|
||||
#pragma warning disable CS0618 // Type or member is obsolete
|
||||
AnimatedWavesLod.QuerySource = (LodQuerySource)Mathf.Max(0, (int)AnimatedWavesLod.CollisionSource - 1);
|
||||
#pragma warning restore CS0618 // Type or member is obsolete
|
||||
|
||||
_Version = 2;
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
|
||||
Reference in New Issue
Block a user