Class CharacterAnimationSet
The clips a character model is animated with: what CharacterBody blends for standing, walking, running, the air, crouching, the water, climbing, sitting, fighting and dying. Humanoid clips, so one set fits any humanoid model; a model names its set on its CharacterModel.
[CreateAssetMenu(fileName = "New Character Animation Set", menuName = "FishMMO/Character/Animation Set", order = 0)]
public class CharacterAnimationSet : ScriptableObject
- Inheritance
-
ObjectScriptableObjectCharacterAnimationSet
- Inherited Members
-
ScriptableObject.SetDirty()ScriptableObject.CreateInstance<T>()Object.GetEntityId()Object.MemberwiseClone()Object.GetInstanceID()Object.GetHashCode()Object.InstantiateAsync<T>(T)Object.InstantiateAsync<T>(T, Transform)Object.InstantiateAsync<T>(T, Vector3, Quaternion)Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion, Transform)Object.Instantiate(Object)Object.Instantiate(Object, Scene)Object.Instantiate<T>(T, InstantiateParameters)Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DontDestroyOnLoad(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.FindObjectsByType<T>(FindObjectsSortMode)Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)Object.FindObjectOfType<T>()Object.FindFirstObjectByType<T>()Object.FindAnyObjectByType<T>()Object.FindFirstObjectByType<T>(FindObjectsInactive)Object.FindAnyObjectByType<T>(FindObjectsInactive)Object.FindObjectsByType<T>()Object.FindObjectsByType<T>(FindObjectsInactive)Object.ToString()Object.nameObject.hideFlags
Remarks
Only Idle is required. A missing clip is stood in for by the nearest there is (a crouch by standing, a swim or a climb by walking, the air by standing), and a missing combat clip simply does not play.
Fields
Block
[Tooltip("The guard, held while blocking.")]
public AnimationClip Block
Field Value
- AnimationClip
Cast
public AnimationClip Cast
Field Value
- AnimationClip
Climb
[Header("Climbing")]
public AnimationClip Climb
Field Value
- AnimationClip
ClimbCycleMetres
[Tooltip("Metres climbed per climb cycle.")]
public float ClimbCycleMetres
Field Value
CrouchIdle
public AnimationClip CrouchIdle
Field Value
- AnimationClip
CrouchWalk
public AnimationClip CrouchWalk
Field Value
- AnimationClip
Death
[Tooltip("Played once; its last pose is held while dead.")]
public AnimationClip Death
Field Value
- AnimationClip
Fall
[Tooltip("Coming down.")]
public AnimationClip Fall
Field Value
- AnimationClip
Idle
[Header("On the ground")]
public AnimationClip Idle
Field Value
- AnimationClip
JumpUp
[Header("In the air")]
[Tooltip("Rising, from a jump.")]
public AnimationClip JumpUp
Field Value
- AnimationClip
KeyedHeight
[Tooltip("How tall the figure the clips were keyed on stood, metres (the seat height scales with the model's height).")]
public float KeyedHeight
Field Value
MidAir
[Tooltip("At the top of a jump or a fall.")]
public AnimationClip MidAir
Field Value
- AnimationClip
PunchLeft
public AnimationClip PunchLeft
Field Value
- AnimationClip
PunchRight
[Header("Fighting (arms only, over whatever the legs do)")]
public AnimationClip PunchRight
Field Value
- AnimationClip
Roll
[Header("Whole body")]
public AnimationClip Roll
Field Value
- AnimationClip
Run
public AnimationClip Run
Field Value
- AnimationClip
SeatHeight
[Tooltip("The seat height SitSeat was keyed for, metres, on a figure KeyedHeight tall.")]
public float SeatHeight
Field Value
SitGround
[Header("Sitting")]
public AnimationClip SitGround
Field Value
- AnimationClip
SitSeat
public AnimationClip SitSeat
Field Value
- AnimationClip
StrokePace
[Tooltip("The swim speed both strokes were keyed for, m/s.")]
public float StrokePace
Field Value
SwimSurface
[Tooltip("Swimming at the surface, head up, keyed for SwimPose.SurfaceLean.")]
public AnimationClip SwimSurface
Field Value
- AnimationClip
SwimUnder
[Tooltip("Swimming under the surface, flat along the swim.")]
public AnimationClip SwimUnder
Field Value
- AnimationClip
Tread
[Header("In the water")]
[Tooltip("Treading water, upright, still.")]
public AnimationClip Tread
Field Value
- AnimationClip
Walk
public AnimationClip Walk
Field Value
- AnimationClip