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