📖 Enhancement Summary • 🚀 Quick Setup Guide
💡 Tip: Click the tabs above (Contributing, Security) to access full documentation!
This version includes major improvements over the original:
- 🎨 Modern UI Theme System - 5 beautiful theme presets with dynamic color switching
- 🎬 Advanced Animation System - Smooth UI animations with customizable effects
- 🎯 Enhanced Score Display - Animated score counter with combo system
- 💫 Particle Effect Manager - Professional visual effects with object pooling
- 🎮 Enhanced Buttons - Interactive buttons with hover, click, and ripple effects
- 🐛 Bug Fixes - Resolved null reference issues and improved code quality
- 📚 Complete Documentation - Setup guides and improvement notes
- Better error handling and null safety
- Optimized performance with object pooling
- Modular, reusable UI components
- Clean, well-documented code
- Professional coding practices
Choose from 5 beautiful themes:
- Modern - Professional blue/purple/orange (default)
- Sunset - Warm orange/pink/yellow tones
- Ocean - Cool blue/teal waters
- Forest - Natural green/yellow hues
- Neon - High-contrast cyberpunk style
Switch themes at runtime with one line of code!
- Endless runner gameplay
- Character selection
- Consumable power-ups
- Mission system
- Shop with in-app purchases
- Leaderboard system
- Tutorial mode
- Modern animated UI with smooth transitions
- Dynamic theme switching system
- Advanced score display with combo system
- Particle effects for all interactions
- Enhanced button feedback (hover, click, ripple)
- Loading screens with progress bars
- Audio feedback for UI interactions
Important: This repository uses Git Large File Support (LFS)
# Install Git LFS
# Download from: https://git-lfs.github.com/
# Initialize Git LFS
git lfs install
# Clone the repository
git clone <repository-url>- Open Unity Hub
- Click "Add" and select the project folder
- Open with Unity 2019.3 or later
- Wait for initial compilation
Follow the Quick Setup Guide to add:
- UIThemeManager to your scenes
- EnhancedButton components to buttons
- EnhancedScoreDisplay to game UI
- ParticleEffectManager for effects
Estimated setup time: 20-30 minutes
-
Build Addressable Assets:
- Open: Window > Asset Management > Addressables > Groups
- Click: Build > New Build > Default Build Script
- Wait for build to complete
-
Configure Build Settings:
- File > Build Settings
- Select your target platform
- Add required scenes
-
Build:
- Click "Build" or "Build and Run"
- Select output folder
- Mobile: All new features are mobile-optimized
- Desktop: Full feature support
- WebGL: Supported with standard limitations
Assets/
├── Scripts/
│ ├── Characters/ # Character controllers and data
│ ├── GameManager/ # Game state management
│ ├── Tracks/ # Track generation system
│ ├── UI/ # UI components (Enhanced!)
│ │ ├── UIThemeManager.cs [NEW]
│ │ ├── UIAnimator.cs [NEW]
│ │ ├── EnhancedButton.cs [NEW]
│ │ ├── EnhancedScoreDisplay.cs [NEW]
│ │ └── MainMenu.cs [IMPROVED]
│ ├── ParticleEffectManager.cs [NEW]
│ └── ...
├── Scenes/ # Game scenes
├── Prefabs/ # Reusable game objects
├── Materials/ # Materials and textures
└── ...
// In any script
UIThemeManager.instance.SetThemePreset(UIThemeManager.ThemePreset.Ocean);// Add to button GameObject
UIAnimator animator = gameObject.AddComponent<UIAnimator>();
animator.animationType = UIAnimator.AnimationType.ScaleAndFade;
animator.animateOnEnable = true;// From anywhere in code
ParticleEffectManager.instance.PlayCoinCollectEffect(position);EnhancedScoreDisplay score = FindObjectOfType<EnhancedScoreDisplay>();
score.AddScore(100);
score.SetMultiplier(2);
score.IncrementCombo();- Unity 2019.3 or later
- Git LFS installed
- Basic C# knowledge
- Visual Studio 2019+ or VS Code
- Unity Asset Management window
- Scene view visible for testing
By default, all services are disabled. To enable:
- Switch to mobile platform (for Ads)
- Enable services in Unity Services window
- Follow original INSTRUCTIONS.txt for detailed setup
- Import UnityPurchasing package
- Configure products in shop
- Test with fake store in editor
This project demonstrates:
- Modern Unity UI development
- Game state management
- Object pooling for performance
- Addressable assets system
- Mobile game optimization
- Clean code architecture
- ✅ Null safety checks
- ✅ Error handling
- ✅ XML documentation
- ✅ Consistent naming
- ✅ Best practices
Compilation Errors:
- Ensure all packages are imported
- Check Unity version compatibility
- Rebuild addressables
Missing Assets:
- Verify Git LFS is installed
- Re-pull repository with LFS
- Check addressables are built
UI Not Themed:
- Add UIThemeManager to scene
- Assign UI elements to lists
- Call ApplyTheme()
Animations Not Playing:
- Check UIAnimator component exists
- Verify animateOnEnable is checked
- Play mode to test
More solutions in Quick Setup Guide
- ✅ Object pooling for particles
- ✅ Efficient UI updates
- ✅ Cached references
- ✅ Minimal GC allocations
- ✅ Mobile-friendly effects
- Windows Desktop
- Android devices
- iOS devices (original version)
This is an enhanced version of Unity's official Endless Runner sample.
- Code quality and bug fixes
- Modern UI system
- Advanced animations
- Visual effects system
- Comprehensive documentation
This project uses Unity's sample game as a base. New enhancements and features are provided as-is for learning purposes.
-
Check Documentation:
-
Common Issues:
- See Troubleshooting section above
- Check Unity Console for errors
- Verify component assignments
-
Original Resources:
- Basic endless runner
- Simple UI
- Core gameplay features
- ✨ Modern, animated UI
- 🎨 Multiple theme options
- 💫 Professional effects
- 🐛 Bug fixes and improvements
- 📚 Complete documentation
- 🚀 Easy to customize
- 🎯 Production-ready code
- Added UIThemeManager with 5 presets
- Created UIAnimator system
- Implemented EnhancedScoreDisplay with combos
- Added ParticleEffectManager
- Created EnhancedButton component
- Fixed multiple bugs
- Added comprehensive documentation
- Base endless runner game
- Tutorial system
- Addressable assets
- Lightweight rendering pipeline
- ✅ Clone the repository
- ✅ Open in Unity 2019.3+
- ✅ Read the Quick Setup Guide
- ✅ Build addressable assets
- ✅ Test the game
- ✅ Add new UI features
- ✅ Customize themes
- ✅ Build and enjoy!
Made with ❤️ using Unity
Original by: Unity Technologies
Enhanced by: KINSHUK SAXENA
Version: 2.0 - Enhanced Edition
Date: November 2025
🎮 Happy Gaming! 🎮