Class SerializableGroups | Asset Graph | 1.6.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class SerializableGroups

    Inheritance
    Object
    SerializableGroups
    Namespace: UnityEngine.AssetGraph
    Syntax
    [Serializable]
    public class SerializableGroups

    Constructors

    SerializableGroups()

    Declaration
    public SerializableGroups()

    SerializableGroups(Dictionary<String, List<AssetReference>>)

    Declaration
    public SerializableGroups(Dictionary<string, List<AssetReference>> groups)
    Parameters
    Type Name Description
    Dictionary<String, List<AssetReference>> groups

    SerializableGroups(SerializableGroups)

    Declaration
    public SerializableGroups(SerializableGroups rhs)
    Parameters
    Type Name Description
    SerializableGroups rhs

    Properties

    Groups

    Declaration
    public List<SerializableGroups.Group> Groups { get; }
    Property Value
    Type Description
    List<SerializableGroups.Group>

    Item[String]

    Declaration
    public List<string> this[string groupName] { get; set; }
    Parameters
    Type Name Description
    String groupName
    Property Value
    Type Description
    List<String>

    Methods

    ContainsKey(String)

    Declaration
    public bool ContainsKey(string groupName)
    Parameters
    Type Name Description
    String groupName
    Returns
    Type Description
    Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object rhs)
    Parameters
    Type Name Description
    Object rhs
    Returns
    Type Description
    Boolean
    Overrides
    Object.Equals(Object)

    FindGroupOfAsset(String)

    Declaration
    public string FindGroupOfAsset(string path)
    Parameters
    Type Name Description
    String path
    Returns
    Type Description
    String

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()

    Remove(String)

    Declaration
    public void Remove(string groupName)
    Parameters
    Type Name Description
    String groupName

    ToGroupDictionary()

    Declaration
    public Dictionary<string, List<AssetReference>> ToGroupDictionary()
    Returns
    Type Description
    Dictionary<String, List<AssetReference>>

    Operators

    Equality(SerializableGroups, SerializableGroups)

    Declaration
    public static bool operator ==(SerializableGroups lhs, SerializableGroups rhs)
    Parameters
    Type Name Description
    SerializableGroups lhs
    SerializableGroups rhs
    Returns
    Type Description
    Boolean

    Inequality(SerializableGroups, SerializableGroups)

    Declaration
    public static bool operator !=(SerializableGroups lhs, SerializableGroups rhs)
    Parameters
    Type Name Description
    SerializableGroups lhs
    SerializableGroups rhs
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023