Version: 2022.1

SerializedObject.forceChildVisibility

切换到手册
public bool forceChildVisibility ;

描述

Controls the visibility of the child hidden fields.

A boolean value that controls the visibility of the child hidden fields. True means that any hidden fields are displayed. False means that any hidden fields are not displayed. Set to false by default. See Also: HideInInspector, SerializedProperty.NextVisible