Ejemplo n.º 1
0
 private void EndSwingWorldAnimations(ItemRepresentation itemRep)
 {
     if (!string.IsNullOrEmpty(this._swingingMovementAnimationGroupName) && (this._swingingMovementAnimationGroupName != base.animationGroupName))
     {
         itemRep.OverrideAnimationGroupName(null);
     }
 }
Ejemplo n.º 2
0
 private void StartSwingWorldAnimations(ItemRepresentation itemRep)
 {
     if (!string.IsNullOrEmpty(this._swingingMovementAnimationGroupName) && (this._swingingMovementAnimationGroupName != base.animationGroupName))
     {
         itemRep.OverrideAnimationGroupName(this._swingingMovementAnimationGroupName);
     }
     itemRep.PlayWorldAnimation(GroupEvent.Attack, this.worldSwingAnimationSpeed);
 }