You could possible compare the x values, for instance:
if(player.transform.position.x > otherObject.transform.position.x)
{
//The player is to the right of the object
}
else
{
//The player is to the left of the object
}
If you need something more please try and be a little more descriptive of what you are trying to do.