Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

WindZoneMode.Spherical

Switch to Manual

Description

Wind zone affects the entire scene in one direction.

// Creates a Spherical Wind Zone.

function Start() { var wind : WindZone = gameObject.AddComponent.<WindZone>(); wind.mode = WindZoneMode.Spherical; }