EditorGUI.CanCacheInspectorGUI

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答