A Graphic altering tool which can flip a graphic either Horizontally / Vertically or both.
1 Overview
3 Methods
4 Usage
6 See also
The Flippable effect allows you to flip a graphic either on the Horizontal axis, vertical axis or both through this simple component..
Note when used with other graphical effects, this component must be ordered the highest, else Unity will report an error. (see usage)
The properties of the UI Flippable component are as follows:
Property | Description |
---|---|
Horizontal | Flip the graphic horizontally |
Vertical | Flip the graphic vertically |
Available as a Game Component menu in “UI / Effects / Extensions / Flippable”. Simple add to any Image or Graphic Component.
Note Unity has changed it’s behaviour about stacking multiple BaseMeshEffects, if the effect alters vertices then the component must be ordered at the top of the components.
E.G. UIFlippable must be ordered above OutLine / NicerOutline etc. The control will automatically do this when added to a GameObject, but if you reorder it you may get a NullReferenceException. To fix, either reorder or touch any property.
Click to play
N/A
Credit ChoMPHi
Sourced from - http://forum.unity3d.com/threads/script-flippable-for-ui-graphics.291711/