Class MovableMenu | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class MovableMenu

    Inheritance
    System.Object
    MovableMenu
    Menu
    Namespace: UnityEngine.Reflect
    Syntax
    public class MovableMenu : MonoBehaviour

    Fields

    rect

    Declaration
    protected RectTransform rect
    Field Value
    Type Description
    RectTransform

    Methods

    Awake()

    Declaration
    protected virtual void Awake()

    Hide(MovableMenu.Direction)

    Declaration
    public void Hide(MovableMenu.Direction direction = MovableMenu.Direction.down)
    Parameters
    Type Name Description
    MovableMenu.Direction direction

    MoveDeltaX(Single)

    Declaration
    public void MoveDeltaX(float x)
    Parameters
    Type Name Description
    System.Single x

    MoveDeltaY(Single)

    Declaration
    public void MoveDeltaY(float y)
    Parameters
    Type Name Description
    System.Single y

    MoveTo(Vector2, Vector2)

    Declaration
    public void MoveTo(Vector2 minPos, Vector2 maxPos)
    Parameters
    Type Name Description
    Vector2 minPos
    Vector2 maxPos

    Show()

    Declaration
    public void Show()

    Start()

    Declaration
    protected virtual void Start()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023