Class OnMouseDown
Called when the user has pressed the mouse button while over the GUI element or collider.
Inheritance
OnMouseDown
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Events/Input")]
public sealed class OnMouseDown : GameObjectEventUnit<EmptyEventArgs>, IGraphElementWithData, IGraphEventHandler<EmptyEventArgs>, 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<Unity.VisualScripting.EmptyEventArgs>.hookName
MessageListenerType
Declaration
public override Type MessageListenerType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Unity.VisualScripting.GameObjectEventUnit<Unity.VisualScripting.EmptyEventArgs>.MessageListenerType