GUIStyle GetCollectionGUIStyle(RVSettingData settingData) { if (this.rvVisibility.RVType == RVVisibility.NameType.Class) { return(settingData.Get_name_class(EditorStyles.foldout)); } return(settingData.Get_name_container(EditorStyles.foldout)); }
bool CollectionUI(bool isOpen, RVSettingData settingData) { bool isSelected = this.rvcStatus.IsSelected(this.NameLabel); GUIStyle guistyle = settingData.Get_name_container(EditorStyles.foldout); if (this.rvVisibility.RVType == RVVisibility.NameType.Class) { guistyle = settingData.Get_name_class(EditorStyles.foldout); } isOpen = EditorGUILayout.Foldout(isOpen, new GUIContent(this.NameLabel), guistyle); RVText.RightClickMenu(GUILayoutUtility.GetLastRect(), 1200, 16, settingData, "Copy", RVText.OnMenuClick_Copy, this.NameLabel, isSelected); return(isOpen); }