if (gameObject.transform.rotation.z < -90)
{
weaponRenderer.flipY = true;
Debug.Log(“FLIP”);
}
if (gameObject.transform.rotation.z > -90)
{
weaponRenderer.flipY = false;
}
the console message is not being shown too.