Version: 2017.3

EditorGUI.CanCacheInspectorGUI

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

Parameters

property The 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.