Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ForcePixel

Force the Light to be a pixel light.
Read time 1 minuteLast updated 4 days 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.