Version: 2023.2
public void DrawCookieProperty (SerializedProperty cookieProperty, GUIContent content, LightType cookieLightType);

参数

cookieProperty The SerializedProperty that the cookie widget displays and can assign to.
content A new GUIContent to display in front of the object picker. Use this to display a label.
cookieLightType The LightType to use for this widget.

描述

Draws a LightEditor cookie widget.