Summary
Calls
Animancer.AnimancerLayer.GetOrCreateState(UnityEngine.AnimationClip,System.Boolean) for each of the specified clips.
If you only want to create a single state, use Animancer.AnimancerLayer.CreateState(UnityEngine.AnimationClip).
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerLayer
Syntax
public void CreateIfNew(params AnimationClip[] clips)
Parameters
| Name | Type | Description |
|---|---|---|
| clips | AnimationClip[] |
Return Value
| Type | Description |
|---|---|
| void |