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