Windows Animations

Animations to show and hide windows (Dialog, Picker, Popup, Notifications).
Add this component to the window object to use.
Notifications also has other animations: Notifications Animations.

Options

  • Animation Curve AnimationCurve

    Curve used to animate values.

  • Animate Alpha bool

    Animate window transparency.

  • Animate Scale bool

    Animate window scale.

  • Animate Anchors bool

    Animate window RectTransform anchors.

  • Anchor X float

    Target RectTransform anchor X value.

  • Anchor Y float

    Target RectTransform anchor Y value.

Custom Animations

You can create your animations by implementing the IWindowAnimations interface.

public interface IWindowAnimations
{
        bool Enabled
        {
                get;
        }

        IEnumerator Open();

        IEnumerator Close();
}