Skip to Main Content

BTD_Mod_Helper​.Api​.Helpers​.ActionHelper


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Helpers

ActionHelper Class

Class for converting actions and functions

public static class ActionHelper

Inheritance System.Object  ActionHelper

Methods

ActionHelper.CreateFromOptionalFunction(Function) Method

Converts a nullable function into an action

public static System.Action CreateFromOptionalFunction(BTD_Mod_Helper.Extensions.Function funcToExecute);

Parameters

funcToExecute Function()

Returns

System.Action

ActionHelper.CreateFromOptionalFunction(Function) Method

Converts a nullable function into an action

public static System.Action<T> CreateFromOptionalFunction<T>(BTD_Mod_Helper.Extensions.Function<T> funcToExecute);

Type parameters

T

Parameters

funcToExecute BTD_Mod_Helper.Extensions.Function<T>

Returns

System.Action<T>

To learn how to download BTD Mod Helper and install mods, click here