ドキュメント

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

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.WindModule
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; }}