Class OnTriggerEnter2D
Called when a collider enters the trigger.
Inheritance
OnTriggerEnter2D
Inherited Members
Namespace: Unity.VisualScripting
Syntax
public sealed class OnTriggerEnter2D : TriggerEvent2DUnit, IGraphElementWithData, IGraphEventHandler<Collider2D>, IGameObjectEventUnit, IEventUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IGraphEventListener
Properties
hookName
Declaration
protected override string hookName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
Unity.VisualScripting.GameObjectEventUnit<UnityEngine.Collider2D>.hookName
MessageListenerType
Declaration
public override Type MessageListenerType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Unity.VisualScripting.GameObjectEventUnit<UnityEngine.Collider2D>.MessageListenerType