I have an object that is instantiated and I need it to be rotated 270 degrees around it's own x-axis.
transform.Rotate(Vector3.right, 270, Space.Self);
this code seems to continually rotate the object by 270 while the scene is playing. How can I get it to do a single 270 degree rotation?