Class OnCollisionStay2D
Called each frame where a collider on another object is touching this object's collider.
Inheritance
OnCollisionStay2D
Inherited Members
Namespace: Unity.VisualScripting
Syntax
public sealed class OnCollisionStay2D : CollisionEvent2DUnit, IGraphElementWithData, IGraphEventHandler<Collision2D>, 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.Collision2D>.hookName
MessageListenerType
Declaration
public override Type MessageListenerType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Unity.VisualScripting.GameObjectEventUnit<UnityEngine.Collision2D>.MessageListenerType