Okay, So i'm trying to print text when my camera reaches a curtain rotate position, ideally I want to print text between a value range, like instead of just 0, 0 up to 1. I tried this script, but the console just won't print my text ever, just prints the else text even when the transform.rotation is dead on Vector3(0,0,0) ! whats wrong with the script and how can get it to look between a range rather than just 0.
function Update()
{
if(transform.rotation == Vector3(90,180,0))
{
print("America");
}
else
{
print("failed!");
}
}
thanks - caius