文档

Unity Engine

Unity Engine

Spherical

Wind zone only has an effect inside the radius, and has a falloff from the center towards the edge.
阅读时间1 分钟最后更新于 1 天前

Definition

Spherical = 1

Examples

// Creates a Spherical Wind Zone.using UnityEngine;public class ExampleScript : MonoBehaviour{ void Start() { var wind = gameObject.AddComponent<WindZone>(); wind.mode = WindZoneMode.Spherical; }}