Fixing slider
Good morning everyone, yesterday I spent my time fixing a bug with the volume slider in my game. The strange thing about this bug is that the other sliders I have in the game worked. After digging into the situation, there was a problem with deltaTime when the script was applied to that specific area in the hierarchy. To fix it, I emulated delta time in the case that it stayed at 0. It's curious that the error had nothing to do with the slider and it taught me the effectiveness of using Debug.Log().
Comments
Post a Comment