Version: 2019.1

EditorGUI.CanCacheInspectorGUI

Switch to Manual
public static bool CanCacheInspectorGUI (SerializedProperty property);

Parameters

propertyThe SerializedProperty in question.

Returns

bool Whether the property's inspector GUI can be cached.

Description

Get whether a SerializedProperty's inspector GUI can be cached.

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.