Quantcast
Channel: Latest Questions by 07Mr07
Viewing all articles
Browse latest Browse all 59

Function that does not affect him Time.timeScale?

$
0
0
Hi, I pause my game with Time.timeScale = 0.0f and open the pause menu I have 2 sprites for sound mute/unmute, if press each one should change but if Time.timeScale = 0.0f do nothing. void FixedUpdate(){ if(PlayerPrefs.GetString("Sound") == "0") { buttonMute.SetActive(true); buttonSound.SetActive(false); } else { buttonMute.SetActive(false); buttonSound.SetActive(true); } } There are any function instead of FixedUpdate that does not affect for Time.timeScale? Or other way to do this? Thanks ;D

Viewing all articles
Browse latest Browse all 59

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>