AddFunction(string,System.Func<TResult, T1>)

Method in DialogueRunner

Summary

public void AddFunction<TResult, T1>(string name, System.Func<TResult, T1> implementation)

Parameters

NameDescription

string name

System.Func<TResult, T1> implementation

Type Parameters

NameDescription

T1

The type of the first parameter to the function.

Last updated

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.