turn on a game object?

Hello. How an I turn on an an object using an if statement? Like this(MainLvl is a static variable):

if (MainLvl >0); //Turn on my projectile upgrade//

Thanks.

If your answer to Justin's question is yes you may use:

gameObject.active = true/false;