Pop up Screen in C sharp

Hello Unity users,

I need some direction with implementing a pop up screen. What I mean by that is I want to have the player press a button and then a little pop up screen appears. I can’t find anything online sufficient enough to lead me in the right direction. Therefore, any guidance would be much appreciated. Thank you for your time.

You can use a simple if statement to show or hide the popup.

var canShowPopup:boolean=false;

function Update(){

function OnGUI(){
//your GUI code here.