Class OnCollisionEnter2D
Called when an incoming collider makes contact with this object's collider.
Inheritance
OnCollisionEnter2D
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Flow.dll
Syntax
public sealed class OnCollisionEnter2D : CollisionEvent2DUnit, IGraphElementWithData, IGraphEventHandler<Collision2D>, IGameObjectEventUnit, IEventUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable, IGraphEventListener
Properties
MessageListenerType
Declaration
public override Type MessageListenerType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
hookName
Declaration
protected override string hookName { get; }
Property Value
Type | Description |
---|---|
string |