Class SerializableSelection | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class SerializableSelection

    Inheritance
    System.Object
    SerializableSelection
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: UnityEditor.U2D
    Syntax
    public class SerializableSelection : ISelection, IEnumerable<int>, IEnumerable, ISerializationCallbackReceiver

    Properties

    any

    Declaration
    public int any { get; }
    Property Value
    Type Description
    System.Int32
    Implements
    ISelection.any

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32
    Implements
    ISelection.Count

    single

    Declaration
    public int single { get; }
    Property Value
    Type Description
    System.Int32
    Implements
    ISelection.single

    Methods

    BeginSelection()

    Declaration
    public void BeginSelection()
    Implements
    ISelection.BeginSelection()

    Clear()

    Declaration
    public void Clear()
    Implements
    ISelection.Clear()

    EndSelection(Boolean)

    Declaration
    public void EndSelection(bool select)
    Parameters
    Type Name Description
    System.Boolean select
    Implements
    ISelection.EndSelection(Boolean)

    IsSelected(Int32)

    Declaration
    public bool IsSelected(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Boolean
    Implements
    ISelection.IsSelected(Int32)

    OnAfterDeserialize()

    Declaration
    public void OnAfterDeserialize()

    OnBeforeSerialize()

    Declaration
    public void OnBeforeSerialize()

    Select(Int32, Boolean)

    Declaration
    public void Select(int index, bool select)
    Parameters
    Type Name Description
    System.Int32 index
    System.Boolean select
    Implements
    ISelection.Select(Int32, Boolean)

    Explicit Interface Implementations

    IEnumerable<Int32>.GetEnumerator()

    Declaration
    IEnumerator<int> IEnumerable<int>.GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<System.Int32>
    Implements
    System.Collections.Generic.IEnumerable<T>.GetEnumerator()

    IEnumerable.GetEnumerator()

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator
    Implements
    System.Collections.IEnumerable.GetEnumerator()
    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