Overview
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.
Last updated