Experimental: this API is experimental and might be changed or removed in the future.

InspectorElement.mode

切换到手册
public Experimental.UIElements.InspectorElement.Mode mode ;

描述

Force the InspectorElement to generate specific types of inspectors, instead of going by the normal checks that try to find a custom inspector and if that fails generates a default inspector.