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(AnimationClip clip0, AnimationClip clip1)
Parameters
Name | Type | Description |
---|---|---|
clip0 | AnimationClip | |
clip1 | AnimationClip |
Return Value
Type | Description |
---|---|
void |