Class CustomEvent
A special named event with any amount of parameters called manually with the 'Trigger Custom Event' unit.
Inheritance
object
CustomEvent
Assembly: solution.dll
Syntax
[UnitCategory]
[UnitOrderAttribute]
public sealed class CustomEvent : GameObjectEventUnit<CustomEventArgs>, IGraphElementWithData, IGraphEventHandler<CustomEventArgs>, IGameObjectEventUnit, IEventUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable, IGraphEventListener
Properties
MessageListenerType
Declaration
public override Type MessageListenerType { get; }
Property Value
Overrides
argumentCount
Declaration
[DoNotSerializeAttribute]
[InspectableAttribute]
[UnitHeaderInspectableAttribute]
public int argumentCount { get; set; }
Property Value
argumentPorts
Declaration
[DoNotSerializeAttribute]
public List<ValueOutput> argumentPorts { get; }
Property Value
hookName
Declaration
protected override string hookName { get; }
Property Value
Overrides
name
Declaration
[DoNotSerializeAttribute]
public ValueInput name { get; }
Property Value
Methods
AssignArguments(Flow, CustomEventArgs)
Declaration
protected override void AssignArguments(Flow flow, CustomEventArgs args)
Parameters
Overrides
Definition()
Declaration
protected override void Definition()
Overrides
ShouldTrigger(Flow, CustomEventArgs)
Declaration
protected override bool ShouldTrigger(Flow flow, CustomEventArgs args)
Parameters
Returns
Overrides
Trigger(GameObject, string, params object[])
Declaration
public static void Trigger(GameObject target, string name, params object[] args)
Parameters
Implements
IDisposable
Extension Methods