# SetEnabledFading(bool, float)

> Fade the cloth simulation in or out.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.ClothModule

```csharp
public void SetEnabledFading(bool enabled, float interpolationTime)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Fading enabled or not.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)):&#x20;
