DrawCookieProperty(SerializedProperty, GUIContent, LightType)
Draws a LightEditor cookie widget.
阅读时间1 分钟最后更新于 1 个月前
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.