Summary
An
Animancer.ObjectPool`1
for Animancer.AnimancerEvent.Sequence
.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Base Types
-
- Object
- ObjectPool
<AnimancerEvent .Sequence >
graph BT
Type-->Base0["ObjectPool<AnimancerEvent.Sequence>"]
Base0-->Base1["Object"]
Type["AnimancerEvent.Pool"]
class Type type-node
Syntax
public class AnimancerEvent.Pool : ObjectPool<AnimancerEvent.Sequence>
Fields
Name | Constant Value | Summary |
---|---|---|
Instance |
Singleton.
static
|
Methods
Name | Value | Summary |
---|---|---|
Acquire |
AnimancerEvent |
Returns a spare item if there are any, or creates a new one.
|
New |
AnimancerEvent |
Creates a
new() instance of T. |
Release |
void |
Adds the `item` to the list of spares so it can be reused.
|