Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Cloth.SetEnabledFading

Switch to Manual
public void SetEnabledFading(bool enabled, float interpolationTime = 0.5f);

Parameters

enabledFading enabled or not.

Description

Fade the cloth simulation in or out.

Did you find this page useful? Please give it a rating: