Class InvokeMember
Invokes a method or a constructor via reflection.
Assembly: Unity.VisualScripting.Flow.dll
Syntax
public sealed class InvokeMember : MemberUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IIdentifiable, IAnalyticsIdentifiable, IAotStubbable
Constructors
InvokeMember()
Declaration
InvokeMember(Member)
Declaration
public InvokeMember(Member member)
Parameters
Type |
Name |
Description |
Member |
member |
|
Properties
chainable
Whether the target should be output to allow for chaining.
Declaration
[Serialize]
[InspectableIf("supportsChaining")]
public bool chainable { get; set; }
Property Value
enter
Declaration
[DoNotSerialize]
public ControlInput enter { get; }
Property Value
exit
Declaration
[DoNotSerialize]
public ControlOutput exit { get; }
Property Value
Declaration
[DoNotSerialize]
public Dictionary<int, ValueInput> inputParameters { get; }
Property Value
invocation
Declaration
[DoNotSerialize]
[MemberFilter(Methods = true, Constructors = true)]
public Member invocation { get; set; }
Property Value
outputParameters
Declaration
[DoNotSerialize]
public Dictionary<int, ValueOutput> outputParameters { get; }
Property Value
result
Declaration
[DoNotSerialize]
public ValueOutput result { get; }
Property Value
supportsChaining
Declaration
[DoNotSerialize]
public bool supportsChaining { get; }
Property Value
targetOutput
The target object used when setting the value.
Declaration
[DoNotSerialize]
[PortLabel("Target")]
public ValueOutput targetOutput { get; }
Property Value
Methods
Definition()
Declaration
protected override void Definition()
Overrides
GetAnalyticsIdentifier()
Declaration
public override AnalyticsIdentifier GetAnalyticsIdentifier()
Returns
Overrides
HandleDependencies()
Declaration
public override bool HandleDependencies()
Returns
Overrides
IsMemberValid(Member)
Declaration
protected override bool IsMemberValid(Member member)
Parameters
Type |
Name |
Description |
Member |
member |
|
Returns
Overrides
Implements
Extension Methods