Class GeoLocationShortcutButtons
GUI utilities for drawing buttons for geo locations
Inherited Members
Namespace: UnityEditor.MARS.Data
Assembly: Unity.MARS.Editor.dll
Syntax
[MovedFrom("Unity.MARS.Providers")]
public static class GeoLocationShortcutButtons
Methods
DrawShortcutButtons(string, Action<double, double>, bool, bool)
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 |
bool | useFoldout | Group the buttons under a foldout |
bool | isOpen | Is the foldout group open |
Returns
Type | Description |
---|---|
bool |