unity detect gameobject in position code example
Example: unity how to check object position
if (transform.position.x == 0)
{
print("hi");
}
if (transform.position.x == 0)
{
print("hi");
}