Versions with this page:
Versions without this page:
光晕的淡化速度。
另请参阅:Lens flare component、flare assets。
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { public LensFlare lf; public Transform tr; void Update() { lf.fadeSpeed = 0.5F; } }