Version: 5.5

Descripción

Las Zonas de viento afectan la escena entera en una dirección.

// 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); }