Version: 2021.3
언어: 한국어

설명

Wind zone affects the entire Scene in one direction.

// Creates a Directional Wind Zone that blows wind up.
using UnityEngine;

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