Struct HitBoxOverlap | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct HitBoxOverlap

    When added to an entity, this component describes overlap between that entity and another entity with a Sprite2DRendererHitBox2D HitBox2D component attached.

    Namespace: Unity.Tiny.HitBox2D
    Syntax
    public struct HitBoxOverlap : IBufferElementData

    Fields

    camera

    Specifies the camera that sees the overlap.

    Declaration
    public Entity camera
    Field Value
    Type Description
    Entity

    otherEntity

    Specifies the "other" entity, which has a Sprite2DRendererHitBox2D or HitBox2D component attached.

    Declaration
    public Entity otherEntity
    Field Value
    Type Description
    Entity
    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