NiceTouch v2.1
MoreMountains.Tools.MMGUI Class Reference

Static Public Member Functions

static void SetSize (RectTransform rectTransform, Vector2 newSize)
 Sets the size of a rect transform to the specified one More...
 
static bool PointOrTouchBlockedByUI ()
 Returns true if the pointer or first touch is blocked by UI More...
 
static Texture2D MakeTex (int width, int height, Color color)
 Creates a texture of the specified size and color More...
 

Member Function Documentation

◆ MakeTex()

static Texture2D MoreMountains.Tools.MMGUI.MakeTex ( int  width,
int  height,
Color  color 
)
static

Creates a texture of the specified size and color

Parameters
width
height
color
Returns

◆ PointOrTouchBlockedByUI()

static bool MoreMountains.Tools.MMGUI.PointOrTouchBlockedByUI ( )
static

Returns true if the pointer or first touch is blocked by UI

Returns

◆ SetSize()

static void MoreMountains.Tools.MMGUI.SetSize ( RectTransform  rectTransform,
Vector2  newSize 
)
static

Sets the size of a rect transform to the specified one

Parameters
rectTransform
newSize

The documentation for this class was generated from the following file: