Show / Hide Table of Contents

    Struct TriggerEvent

    A Trigger event is fired when two colliders collide. At least one of the colliders must be marked as a trigger collider.

    Namespace: Motphys.Rigidbody
    Assembly: solution.dll
    Syntax
    public struct TriggerEvent

    Properties

    collider1

    Declaration
    public BaseCollider collider1 { get; }
    Property Value
    Type Description
    BaseCollider

    The first collider involved in the trigger event.

    collider2

    Declaration
    public BaseCollider collider2 { get; }
    Property Value
    Type Description
    BaseCollider

    The second collider involved in the trigger event.

    Back to top Copyright © 2020-2024 北京谋先飞技术有限公司及其关联公司北京谋先飞科技有限公司
    Generated by DocFX