docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct AspectType

    Native friendly container for managed Type derived from IAspect.

    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    public struct AspectType

    Constructors

    Name Description
    AspectType(Type)

    Create an AspectType from a managed Type.

    Fields

    Name Description
    TypeIndex

    The type index of the aspect in the TypeManager.

    Methods

    Name Description
    Equals(object)

    Test if this object is equal to another object

    Equals(AspectType)

    Test if this AspectType is equal to another AspectType

    FromTypeIndex(int)

    Create an AspectType from a type index.

    GetHashCode()

    Get hash code for this AspectType

    GetManagedType()

    Retrieve the managed Type.

    ToString()

    Name of the aspect type

    Operators

    Name Description
    operator ==(AspectType, AspectType)

    Operator equal by type index

    operator >(AspectType, AspectType)

    Operator greater-than by type index

    implicit operator AspectType(Type)

    Implicit conversion from managed Type to AspectType.

    operator !=(AspectType, AspectType)

    Operator not-equal by type index

    operator <(AspectType, AspectType)

    Operator less-than by type index

    In This Article
    Back to top
    Copyright © 2024 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)