docs.unity3d.com
    Show / Hide Table of Contents

    Class GeoLocationShortcutButtons

    GUI utilities for drawing buttons for geo locations

    Inheritance
    Object
    GeoLocationShortcutButtons
    Namespace: UnityEditor.MARS.Data
    Syntax
    [MovedFrom("Unity.MARS.Providers")]
    public static class GeoLocationShortcutButtons

    Methods

    DrawShortcutButtons(String, Action<Double, Double>, Boolean, Boolean)

    Draws an array of buttons for selecting a geo location from MarsUserGeoLocations.UserGeoLocations

    Declaration
    public static bool DrawShortcutButtons(string title, Action<double, double> shortcutAction, bool useFoldout = false, bool isOpen = true)
    Parameters
    Type Name Description
    String title

    Title label for the buttons

    Action<Double, Double> shortcutAction

    Button action for when it is pressed

    Boolean useFoldout

    Group the buttons under a foldout

    Boolean isOpen

    Is the foldout group open

    Returns
    Type Description
    Boolean
    Back to top
    Terms of use
    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