Versions with this page:
Versions without this page:
定义要使用的风区的类型(Spherical 或 Directional)。
// Creates a Directional Wind Zone. using UnityEngine;public class ExampleScript : MonoBehaviour { void Start() { var wind = gameObject.AddComponent<WindZone>(); wind.mode = WindZoneMode.Directional; } }