升级水插件

This commit is contained in:
2026-01-08 22:30:55 +08:00
parent febff82d24
commit ca68084264
415 changed files with 18138 additions and 7134 deletions

View File

@@ -23,7 +23,7 @@ namespace WaveHarmonic.Crest
var input = gameObject.AddComponent<T>();
input._Mode = mode;
// Not all modes have associated data.
if (mode is not LodInputMode.Global or LodInputMode.Primitive or LodInputMode.Unset) AddData(input, mode);
if (mode is not (LodInputMode.Global or LodInputMode.Primitive or LodInputMode.Unset)) AddData(input, mode);
input.InferBlend();
return input;
}