ExecuteRef(BehaviorPipeline, IMethodInvocation) Method

Definition

Namespace Stunts
Assembly Stunts.dll

Executes the pipeline and returns a Ref<T> to it. If the returned value from the pipeline execution is already a Ref<T>, it's returned as-is, otherwise, the T value is wrapped in a new Ref<T>.

public static Ref<T> ExecuteRef<T>(this BehaviorPipeline pipeline, IMethodInvocation invocation)

Type parameters

T

Parameters

invocation
IMethodInvocation

Returns