DrawCookieProperty(SerializedProperty, GUIContent, LightType)
Draws a LightEditor cookie widget.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public void DrawCookieProperty(SerializedProperty cookieProperty, GUIContent content, LightType cookieLightType)
Parameters
The SerializedProperty that the cookie widget displays and can assign to.
A new GUIContent to display in front of the object picker. Use this to display a label.