Summary
Gets an existing parameter registered with the `key` or creates one if necessary.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- ParameterDictionary
Syntax
public Parameter<T> GetOrCreate<T>(StringReference key)
Remarks
The `key` must not be null or empty.
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| key | StringReference |
Return Value
| Type | Description |
|---|---|
| Parameter |