unity check if there is an object at position code example
Example: unity how to check object position
if (transform.position.x == 0)
{
print("hi");
}
if (transform.position.x == 0)
{
print("hi");
}