Documentation

Unity Engine

Unity Engine

ForcePixel

Force the Light to be a pixel light.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
ForcePixel = 1

Remarks

Use this only for really important lights, like a player flashlight. Additional Resources: light component.