- Home /
Question by
SirBoboHobo · Mar 13, 2015 at 11:42 AM ·
uimenu
open a UI panel
I made a pause menu, how do i open it when i pressing the pause button in a game? unity 4.6 UI system
Comment
Best Answer
Answer by Tuncer · Mar 13, 2015 at 11:45 AM
public void onPauseButtonPressed()
{
//things you wanna do it before pausing game
pauseUIPanel.setActive(true);
}