private void HierarchicalContainer1_OverrideMemberDescription(HierarchicalContainer sender, HCItemMember member, ref string description)
 {
     try
     {
         if (Provider.DocumentWindow.Document.SpecialMode == "ProjectSettingsUserMode")
         {
             description = EditorLocalization.Translate("ProjectSettings.Description", description);
         }
         else
         {
             description = EditorLocalization.Translate("Object.Description", description);
         }
     }
     catch { }
 }
Exemplo n.º 2
0
 private void HierarchicalContainer1_OverrideMemberDescription(HierarchicalContainer sender, HCItemMember member, ref string description)
 {
     description = EditorLocalization.Translate("Object.Description", description);
 }
Exemplo n.º 3
0
 public void PerformOverrideMemberDescription(HCItemMember member, ref string description)
 {
     OverrideMemberDescription?.Invoke(this, member, ref description);
 }