public static InspectorTree CreateFromActionMapProperty(Action applyAction, SerializedProperty actionMapProperty) { var treeView = new InspectorTree(applyAction, new TreeViewState()); treeView.m_ActionMapSerializedProperty = actionMapProperty; treeView.Reload(); treeView.ExpandAll(); return(treeView); }