docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum GoToStrategy

    The strategy used when going to a specific item in the SwipeView.

    Namespace: Unity.AppUI.UI
    Assembly: Unity.AppUI.dll
    Syntax
    public enum GoToStrategy

    Fields

    Name Description
    Backward

    The SwipeView will animate backward until it reaches the item. If the target item is after the current item, it will animate forward if the wrap property is set to false, otherwise it will animate backward until it reaches the item.

    Forward

    The SwipeView will animate forward until it reaches the item. If the target item is before the current item, it will animate backward if the wrap property is set to false, otherwise it will animate forward until it reaches the item.

    LongestPath

    The SwipeView will animate to the item using the longest path, by taking into account the wrap property.

    ShortestPath

    The SwipeView will animate to the item using the shortest path, by taking into account the wrap property.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)