UI
  • COLLECTOR
    • Overview
    • Folder Structure
    • Getting Started
    • Example Usage
  • NUMBER
    • Overview
    • Folder Structure
    • Getting Started
    • Example Usage
  • TIME_RESOURCE
    • Overview
    • Folder Structure
    • Getting Started
    • Example Usage
  • SMART_BUTTON
    • Overview
    • Folder Structure
    • Getting Started
  • Contact
Powered by GitBook
On this page
  1. SMART_BUTTON

Overview

PreviousSMART_BUTTONNextFolder Structure

Last updated 6 months ago

A comprehensive button enhancement solution for Unity that extends the standard Button component with advanced interaction features and management capabilities.

Key Features

Continuous Press Detection

  • Enables configurable continuous event triggering while button is held

  • Fully customizable activation frequency with adjustable delay and duration

  • Seamlessly integrates with Unity's Button onClick events

Advanced Long Press Handling

  • Implements precise long press detection with customizable duration thresholds

  • Built-in visual progress indicator for enhanced user feedback

  • Flexible event triggering system for long press completion

Dynamic Visual State Management

  • Sophisticated state-based appearance control for enabled/disabled states

  • Comprehensive support for both Text and Image components

  • Dynamic color management system for enhanced visual feedback

Integrated Loading State

  • Built-in loading state indicator for asynchronous operations

  • Perfect for server requests, ad loading, or any delayed operations

  • Maintains consistent user experience during wait states

Centralized Event Management System

  • Global event handling capabilities with group-based management

  • Streamlined integration of common functionalities (sound effects, haptic feedback)

  • Built-in analytics support with automatic button identification

  • Efficient event tracking and monitoring system

This GSUISmartButton provides a robust foundation for creating responsive, user-friendly interfaces while maintaining clean, maintainable code architecture.