Version: 5.6 (switch to 2017.1b)
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

enabled Fading enabled or not.

Description

Fade the cloth simulation in or out.