using UnityEngine.UI; namespace Google.Maps.Demos.Utilities { /// /// Helper class to expose the IsPressed status from the standard button. /// public class JoystickButton : Button { /// /// Checks if the button is continuously pressed. /// /// A boolean indicating if the button is currently pressed. public bool IsButtonPressed() { return IsPressed(); } } }