๐ 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! ๐ฎ