public AnimationPart(CreaturePart creaturePart, Transform transform, CreatureAnimationMovementType partMovementType, float updateEvery, Vector3 movementDirection, float movementMultiplier, ActionStep.Actions[] animateDuring, PartMovesWith partMovesRelativeTo, PartAnimationType animationType, bool visibleIfNotAnimating) : base(creaturePart, transform, updateEvery) { this.movementDirection = movementDirection; this.movementMultiplier = movementMultiplier; this.AnimateDuring = animateDuring; this.partMovesRelativeTo = partMovesRelativeTo; this.animationType = animationType; this.visibleIfNotAnimating = visibleIfNotAnimating; visible = true; }
public PartEngineVariables(Vector3 moveDirection, PartMovesWith partMovesWith) { MoveDirection = moveDirection; PartMovesWith = partMovesWith; }