Class OnButtonClick
Called when a user clicks the button and releases it.
Inheritance
OnButtonClick
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Events/GUI")]
[TypeIcon(typeof(Button))]
[UnitOrder(1)]
public sealed class OnButtonClick : 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