Xerios / ScreenManager

Flexible way to manage screens with transitions for Unity
MIT License
563 stars 69 forks source link

Added overwrite of existing screen manager #6

Closed ryanslikesocool closed 7 years ago

ryanslikesocool commented 7 years ago

Added second parameter "true" to ServiceLocator.Register method call to enable overwrite of previously registered screen manager instance such that when changing scenes, we are not hit with the throw() for trying to re-register a screen manager.