How to make an object appear with mouse click?

I’m doing a first-person 3D game and want to know how to make an object appear on the screen when I press a button.

void Update()
{
// If button pressed
if (Input.GetButtonDown(yourButton))
//Make object “appear”
// Implement this however you want. Setactive, instantiate, etc.
}