unity c# if gameobject exists else code example Example: unity if gameobject exists if (GameObject.Find("WhateverItsCalled") != null){ //it exists}