Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Get2DLights()

Gets an array of all 2D lights in the scene.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
protected virtual Object[] Get2DLights()

Returns

Type

Description

Object[]Returns an array of 2D Lights.