var flare : Flare
Description
The flare asset to use.
See Also: Lens flare component, flare assets.
var lf : LensFlare;
light.flare = lf.flare;
using UnityEngine;
using System.Collections;
public class example :
MonoBehaviour {
public LensFlare lf;
void Awake() {
light.flare = lf.flare;
}
}
import UnityEngine
import System.Collections
class example(
MonoBehaviour):
public lf as LensFlare
def
Awake():
light.flare = lf.flare