Unity's endless runner game sample "Trash Dash" refactored.
β
Cleaned code
β
Reduced draw calls by 40%
β
Reduced build size by 48%
β
Removed GetComponent calls
β
Split classes into separate files
β
Substituted Singletons for a Service Locator
β
Made game scalable for multiple resolutions