Two Unity GUI questions

  1. Is there a way to parent GUI.Buttons/GUI.Boxes to an armature with an animation on it or turn them into GUITextures so that I can parent them with an armature?

  2. Is there a way to 'mask' GUI?

What I want to achieve is expressed in this image:

https://picasaweb.google.com/109558729139769464910/Mar122011#5583270749512512370

try drawing the button then on click get it transform across the screen. No animation involved just scripting

  1. If you want a GUI object to "follow" a transform you can use Camera.WorldToScreenPoint to get screen coordinates for that transforms position.
  2. Use GUI.BeginGroup and GUI.EndGroup. It will clip content outside of the group.