CanCacheInspectorGUI(SerializedProperty)
Get whether a SerializedProperty 's inspector GUI can be cached.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static bool CanCacheInspectorGUI(SerializedProperty property)
Parameters
The SerializedProperty in question.
Returns
Type | Description |
|---|---|
| bool | Whether the property's inspector GUI can be cached. |
Remarks
For builtin EditorGUI controls, this is always true. If the property has a custom PropertyDrawer, the function will return the cacheability value returned by that drawer.