Question by
Olamire · Sep 23, 2016 at 01:40 PM ·
pause menu
i can get my code to recognize if object is active or not
this code should be able to detect of my weaponselect menu is active and adjust the time scale accordingly but even if i set the code menu to "Active". the game keeps playing like its not there void update() { if (WeaponSelect.activeSelf == true) { Time.timeScale = 0f; } else { Time.timeScale = 1f; }
}
Comment