check gameobject exists

if (GUI.Button(new Rect(Screen.width/3+20,Screen.height/4+90,350,32),“Archer”)&& archery==null) { GameObject SpawnLocation = (GameObject)Instantiate(archer,spawnLocation,Quaternion.identity); }

but its not working? I wanna if archery exists-create archer…
sorry for bad English

if (GUI.Button(new Rect(Screen.width/3+20,Screen.height/4+90,350,32),“Archer”))
{
if (archery==null)
GameObject SpawnLocation = (GameObject)Instantiate(archer,spawnLocation,Quaternion.identity);
archery = something; // otherwise it will happen every time
}