Class GameObjectEventUnit<TArgs>
Inheritance
GameObjectEventUnit<TArgs>
Syntax
public abstract class GameObjectEventUnit<TArgs> : EventUnit<TArgs>, IGraphElementWithData, IGraphEventHandler<TArgs>, IGameObjectEventUnit, IEventUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable, IGraphEventListener
Type Parameters
Properties
hookName
Declaration
protected virtual string hookName { get; }
Property Value
MessageListenerType
Declaration
public abstract Type MessageListenerType { get; }
Property Value
Implements
register
Declaration
protected sealed override bool register { get; }
Property Value
Overrides
Unity.VisualScripting.EventUnit<TArgs>.register
target
The game object that listens for the event.
Declaration
[DoNotSerialize]
[NullMeansSelf]
[PortLabel("Target")]
public ValueInput target { get; }
Property Value
Methods
CreateData()
Declaration
public override IGraphElementData CreateData()
Returns
Overrides
Unity.VisualScripting.EventUnit<TArgs>.CreateData()
Definition()
Declaration
protected override void Definition()
Overrides
Unity.VisualScripting.EventUnit<TArgs>.Definition()
GetHook(GraphReference)
Declaration
public override EventHook GetHook(GraphReference reference)
Parameters
Returns
Overrides
Unity.VisualScripting.EventUnit<TArgs>.GetHook(Unity.VisualScripting.GraphReference)
StartListening(GraphStack)
Declaration
public override void StartListening(GraphStack stack)
Parameters
Overrides
Unity.VisualScripting.EventUnit<TArgs>.StartListening(Unity.VisualScripting.GraphStack)
Implements
StartListening(GraphStack, Boolean)
Declaration
protected void StartListening(GraphStack stack, bool updateTarget)
Parameters
Extension Methods