Class TriggerEvent2DUnit
Inheritance
TriggerEvent2DUnit
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Events/Physics 2D")]
public abstract class TriggerEvent2DUnit : GameObjectEventUnit<Collider2D>, IGraphElementWithData, IGraphEventHandler<Collider2D>, IGameObjectEventUnit, IEventUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IGraphEventListener
Properties
collider
The other collider involved in the collision.
Declaration
[DoNotSerialize]
public ValueOutput collider { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
AssignArguments(Flow, Collider2D)
Declaration
protected override void AssignArguments(Flow flow, Collider2D other)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow | |
Collider2D | other |
Overrides
Unity.VisualScripting.EventUnit<UnityEngine.Collider2D>.AssignArguments(Unity.VisualScripting.Flow, UnityEngine.Collider2D)
Definition()
Declaration
protected override void Definition()
Overrides
Unity.VisualScripting.GameObjectEventUnit<UnityEngine.Collider2D>.Definition()