LensFlare.flare 眩光

var flare : Flare

Description描述

The flare asset to use.

眩光也称为光晕,用于flare资源。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public LensFlare lf;
	public void Awake() {
		light.flare = lf.flare;
	}
}
// Assigns the flare of lf to this transforms light flare
//指定一个镜头光晕

var lf : LensFlare;
light.flare = lf.flare;
Page last updated: 2010-12-28