Best ways to ignore rotation for UI elements

Hi. So using the new Unity 4.6 Beta UI, I have a world space canvas on ships to display their health (top down). I want the UI element to ignore rotation so I have the following script:

public class UI_nonRotate : MonoBehaviour {

	private Quaternion rotation;

	void Awake()
	{
		rotation = transform.rotation;
	}
	
	void LateUpdate () 
	{
		transform.rotation = rotation;	
	}
}

Now this works, (FixedUpdate had it jittery) but I’m wondering is there a better way to be ignoring the rotations of a parent than always scripting for it. Is this type of scripting expensive, or is it the best way?

I would suggest taking this question to the forums. An alternative to your solution could be: Ignore parent Rotation - Unity Answers