Class GameObjectEventUnit<TArgs>
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Flow.dll
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
Name | Description |
---|---|
TArgs |
Properties
MessageListenerType
Declaration
public abstract Type MessageListenerType { get; }
Property Value
Type | Description |
---|---|
Type |
hookName
Declaration
protected virtual string hookName { get; }
Property Value
Type | Description |
---|---|
string |
register
Declaration
protected override sealed bool register { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
target
The game object that listens for the event.
Declaration
[DoNotSerialize]
[NullMeansSelf]
[PortLabel("Target")]
public ValueInput target { get; }
Property Value
Type | Description |
---|---|
Value |
Methods
CreateData()
Declaration
public override IGraphElementData CreateData()
Returns
Type | Description |
---|---|
IGraph |
Overrides
Definition()
Declaration
protected override void Definition()
Overrides
GetHook(GraphReference)
Declaration
public override EventHook GetHook(GraphReference reference)
Parameters
Type | Name | Description |
---|---|---|
Graph |
reference |
Returns
Type | Description |
---|---|
Event |
Overrides
StartListening(GraphStack)
Declaration
public override void StartListening(GraphStack stack)
Parameters
Type | Name | Description |
---|---|---|
Graph |
stack |
Overrides
StartListening(GraphStack, bool)
Declaration
protected void StartListening(GraphStack stack, bool updateTarget)
Parameters
Type | Name | Description |
---|---|---|
Graph |
stack | |
bool | updateTarget |