public static string GetNicePropertyGroupDisplayName(System.Type animatableObjectType, string propertyGroupName)
 {
     if (AnimationWindowUtility.ShouldPrefixWithTypeName(animatableObjectType, propertyGroupName))
     {
         return(ObjectNames.NicifyVariableName(animatableObjectType.Name) + "." + AnimationWindowUtility.NicifyPropertyGroupName(animatableObjectType, propertyGroupName));
     }
     return(AnimationWindowUtility.NicifyPropertyGroupName(animatableObjectType, propertyGroupName));
 }
        public static string GetNicePropertyGroupDisplayName(Type animatableObjectType, string propertyGroupName)
        {
            string result;

            if (AnimationWindowUtility.ShouldPrefixWithTypeName(animatableObjectType, propertyGroupName))
            {
                result = ObjectNames.NicifyVariableName(animatableObjectType.Name) + "." + AnimationWindowUtility.NicifyPropertyGroupName(animatableObjectType, propertyGroupName);
            }
            else
            {
                result = AnimationWindowUtility.NicifyPropertyGroupName(animatableObjectType, propertyGroupName);
            }
            return(result);
        }