多轮审查评估
This commit is contained in:
@@ -31,7 +31,11 @@ namespace BaseGames.World.Liquid
|
||||
BlendVolume(1f, _blendInDuration);
|
||||
}
|
||||
|
||||
private void OnLiquidExited(LiquidEvent evt) => BlendVolume(0f, _blendOutDuration);
|
||||
private void OnLiquidExited(LiquidEvent evt)
|
||||
{
|
||||
if (evt.LiquidType != LiquidType.Water) return;
|
||||
BlendVolume(0f, _blendOutDuration);
|
||||
}
|
||||
|
||||
private void BlendVolume(float target, float duration)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user