SerializedObjectExtensions Class

Description

Extension methods for SerializedObject that are especially useful in combination with UI Toolkit.

public static class SerializedObjectExtensions
Inheritance
SerializedObjectExtensions

Methods

IsEditable(SerializedObject)

Returns whether a SerializedObject is considered editable. It will return false if any of its targetObjects are marked with NotEditable or if there's an asset that isn't open for editing in version control. It's especially useful in combination with Disabler.

IsEditable(SerializedObject, StatusQueryOptions)