I’ve tried numerous different ways but with no luck. I’m kind of rusty at C#. I need to check whether my sprite has turned 180 degrees or not and if so for my function to run.
if(male.transform.rotation.eulerAngles.z(0,0)
{
}
That obviously doesn’t work so if anyone can help if would be greatly appreciated.