Class TriggerEvent2DUnit
Inheritance
TriggerEvent2DUnit
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Flow.dll
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, IAnalyticsIdentifiable, 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
Definition()
Declaration
protected override void Definition()