描述

风区仅在半径内有效果,并且从中心向边缘衰减。

// Creates a Spherical Wind Zone.
using UnityEngine;

public class ExampleScript : MonoBehaviour { void Start() { var wind = gameObject.AddComponent<WindZone>(); wind.mode = WindZoneMode.Spherical; } }