Placement Preview

Placement preview animation.

The Placement Preview is the animation you see when you drag an item over a slot.

You can set your own placement previewer by creating a prefab with this component, heading to the UI settings, then dragging and dropping the prefab into the Default Placement Preview field.

Properties

Name
Description

Default Sprite

The default sprite to use when one for the target container is not found.

Animator

The animator component.

Invalid Animation Name

The name of the animation if the previewed placement is invalid (the item cannot be placed there).

Valid Animation Name

The name of the animation if the previewed placement is valid (the item can be placed there).

Replace Animation Name

The name of the animation if the previewed placement will result in a replacement of the current item placed in the location.

Animation Normalized Start Time

The normalized starting time of the animation (0 will start the animation from its beginning, 1 will start it from the end).

Enable Dynamic Sprite

If the sprite of the placement preview should match the sprite of the target container.

Last updated