NamedEventDictionary.

AddTo(StringReference, Action) Method

Summary

Adds the `callback` to any existing ones registered with the `name`.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
NamedEventDictionary

Syntax

public void AddTo(StringReference name, Action callback)

Remarks

If you want an exception to be thrown if something is already registered with the `name`, use Animancer.NamedEventDictionary.AddNew(Animancer.StringReference,System.Action) instead.

Parameters

Name Type Description
name StringReference
callback Action

Return Value

Type Description
void