Class OnTriggerStay2D
Called once per frame for every collider that is touching the trigger.
Inheritance
OnTriggerStay2D
Inherited Members
Namespace: Unity.VisualScripting
Syntax
public sealed class OnTriggerStay2D : 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