Summary
A
FlexMotion asset referencing 9 animations clips corresponding to the cardinal directions and a neutral state that can be played by a FlexMotionAnimator.
Blending is done via the dedicated FlexMotionLayer methods.
Syntax
[CreateAssetMenu(menuName = "FlexMotion/2D 8 Ways", fileName = "FlexMotion_2d8Ways_")]
public class FlexMotion2d8Ways : FlexMotion
Methods
| Name | Return Value | Summary |
|---|---|---|
| ApplySettings |
void |
Applies the
FlexMotion asset settings to the provided FlexMotionLayer.
Inherited from FlexMotion
|
| Apply |
void |
Applies the
FlexMotion asset specific settings of each implementation to the provided FlexMotionLayer.
|
| GetAnimationClip |
AnimationClip |
Get a specific animation clip using an index. Use ClipCount() to iterate though every
AnimationClip.
|
| GetAnimationClips |
AnimationClip[] |
Get the underlying animation clip array.
|
| GetClipCount |
int |
Returns the number of AnimationClips referenced in that asset.
|
| IsValid |
bool |
Checks if the asset has at least one valid
AnimationClip assigned to it.
Inherited from FlexMotion
|