Class GameObjectEventUnitGenerator<TUnit, TArgs>
Inheritance
UnitGenerator<TUnit>
EventHandlerUnitGenerator<TUnit, TArgs>
GameObjectEventUnitGenerator<TUnit, TArgs>
Inherited Members
Namespace: Ludiq.Bolt
Syntax
public abstract class GameObjectEventUnitGenerator<TUnit, TArgs> : EventHandlerUnitGenerator<TUnit, TArgs>, IBehaviourUnitGenerator, IUnitGenerator, IGenerator where TUnit : GameObjectEventUnit<TArgs>
Type Parameters
Name | Description |
---|---|
TUnit | |
TArgs |
Constructors
GameObjectEventUnitGenerator(TUnit)
Declaration
protected GameObjectEventUnitGenerator(TUnit unit)
Parameters
Type | Name | Description |
---|---|---|
TUnit | unit |
Methods
GenerateActivateStatements(MethodGeneration)
Declaration
public override IEnumerable<CodeStatement> GenerateActivateStatements(MethodGeneration method)
Parameters
Type | Name | Description |
---|---|---|
MethodGeneration | method |
Returns
Type | Description |
---|---|
IEnumerable<CodeStatement> |
Overrides
Ludiq.Bolt.EventHandlerUnitGenerator<TUnit, TArgs>.GenerateActivateStatements(Ludiq.Bolt.MethodGeneration)
GenerateEventHookTargetExpression(MethodGeneration)
Declaration
protected override CodeExpression GenerateEventHookTargetExpression(MethodGeneration method)
Parameters
Type | Name | Description |
---|---|---|
MethodGeneration | method |
Returns
Type | Description |
---|---|
CodeExpression |
Overrides
Ludiq.Bolt.EventHandlerUnitGenerator<TUnit, TArgs>.GenerateEventHookTargetExpression(Ludiq.Bolt.MethodGeneration)