check if object is already in scene code example Example: unity c# check how many of an object exists TotalAmount = FindObjectsOfType<Object>().Length;