Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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
Warning
Deprecated. CanCacheInspectorGUI has been deprecated and is no longer used.
public static bool CanCacheInspectorGUI(SerializedProperty property)

Parameters

The SerializedProperty in question.

Returns

Type

Description

boolWhether 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.