Skip to content

Class: EntityAnimation ​

csharp
[HideMonoScript]
public class EntityAnimation : EntityComponent, ILogicUpdate

Fields ​

NameDeclarationDescription
abilityAnimStatuspublic EntityAnimation.AbilityAnimationStatus abilityAnimStatus
animator`[NonSerialized]
public Animator animator`

Properties ​

NameDeclarationDescription
modelpublic EntityModel model { get; }

Methods ​

FrameUpdate() ​

csharp
public override void FrameUpdate()

LogicUpdate(float) ​

csharp
public override void LogicUpdate(float dt)

Parameters:

NameTypeDescription
dtfloat

PlayAbilityAnimation(DewAnimationClip, float, float) ​

csharp
public void PlayAbilityAnimation(DewAnimationClip clip, float speed, float clipSelectValue)

Parameters:

NameTypeDescription
clipDewAnimationClip
speedfloat
clipSelectValuefloat

PlayAbilityAnimation(DewAnimationClip, float) ​

csharp
public void PlayAbilityAnimation(DewAnimationClip clip, float speed = 1)

Parameters:

NameTypeDescription
clipDewAnimationClip
speedfloat

PlayStaggerAnimation() ​

csharp
public void PlayStaggerAnimation()

ReplaceAnimation(ReplaceableAnimationType, AnimationClip) ​

csharp
public void ReplaceAnimation(EntityAnimation.ReplaceableAnimationType type, AnimationClip clip)

Parameters:

NameTypeDescription
typeEntityAnimation.ReplaceableAnimationType
clipUnityEngine.AnimationClip

ReplaceAnimationLocal(ReplaceableAnimationType, AnimationClipWithSpeed) ​

csharp
public void ReplaceAnimationLocal(EntityAnimation.ReplaceableAnimationType type, AnimationClipWithSpeed newData)

Parameters:

NameTypeDescription
typeEntityAnimation.ReplaceableAnimationType
newDataAnimationClipWithSpeed

ReplaceAnimationLocal(ReplaceableAnimationType, AnimationClip) ​

csharp
public void ReplaceAnimationLocal(EntityAnimation.ReplaceableAnimationType type, AnimationClip newClip)

Parameters:

NameTypeDescription
typeEntityAnimation.ReplaceableAnimationType
newClipUnityEngine.AnimationClip

SetupModel() ​

csharp
public void SetupModel()

StopAbilityAnimation() ​

csharp
public void StopAbilityAnimation()

StopAbilityAnimation(DewAnimationClip) ​

Stop ability animation if currently playing animation is given clip.

csharp
public void StopAbilityAnimation(DewAnimationClip clip)

Parameters:

NameTypeDescription
clipDewAnimationClip

Maintained by the Shape of Dreams Modding Community