Version: 5.6

설명

Wind zone affects the entire scene in one direction.

// Creates a Directional Wind Zone that blows wind up.

void Start() { var wind = gameObject.AddComponent<WindZone>(); wind.mode = WindZoneMode.Directional; transform.rotation = Quaternion.LookRotation(Vector3.up); }