Class SelectionGroupManager | Selection Groups | 0.1.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class SelectionGroupManager

    The Editor only manager for selection groups.

    Inheritance
    Object
    Object
    ScriptableObject
    SelectionGroupManager
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: Unity.SelectionGroups
    Syntax
    public class SelectionGroupManager : ScriptableObject, IEnumerable<SelectionGroup>, IEnumerable, ISerializationCallbackReceiver

    Properties

    instance

    The single instance of the SelectionGroupManager.

    Declaration
    public static SelectionGroupManager instance { get; }
    Property Value
    Type Description
    SelectionGroupManager

    Methods

    DuplicateGroup(Int32)

    Duplicate the group specified by groupId.

    Declaration
    public void DuplicateGroup(int groupId)
    Parameters
    Type Name Description
    Int32 groupId

    GetEnumerator()

    Enumerate over all selection groups in this manager.

    Declaration
    public IEnumerator<SelectionGroup> GetEnumerator()
    Returns
    Type Description
    IEnumerator<SelectionGroup>

    GetGroupNames()

    Fetch an array of selection group names.

    Declaration
    public string[] GetGroupNames()
    Returns
    Type Description
    String[]

    OnAfterDeserialize()

    The deserialization method for this class.

    Declaration
    public void OnAfterDeserialize()
    Implements
    ISerializationCallbackReceiver.OnAfterDeserialize()

    OnBeforeSerialize()

    The serialization method for this class.

    Declaration
    public void OnBeforeSerialize()
    Implements
    ISerializationCallbackReceiver.OnBeforeSerialize()

    RemoveGroup(Int32)

    Remove a selection group.

    Declaration
    public void RemoveGroup(int groupId)
    Parameters
    Type Name Description
    Int32 groupId
    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