docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NamingUtil

    Helpers for deriving common names and asset types.

    Inheritance
    object
    NamingUtil
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: AutoGroupGenerator
    Assembly: Unity.AutoGroupGenerator.Editor.dll
    Syntax
    public static class NamingUtil

    Methods

    Name Description
    FindMostCommonWord(IEnumerable<string>, float)

    Finds the most common word across a set of names.

    GetMajorityAssetType(IEnumerable<string>, float)

    Returns the most common asset type based on file extensions.

    GetMajorityElement(IEnumerable<string>, float)

    Returns the most common element if it meets the ratio threshold.

    MostMatch(IEnumerable<string>, Func<string, bool>, float)

    Determines whether most items satisfy a predicate.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)