NiceTouch v2.1
MoreMountains.Tools.MMRectTransformExtensions Class Reference

RectTransform extensions More...

Static Public Member Functions

static void MMSetLeft (this RectTransform rt, float left)
 Sets the left offset of a rect transform to the specified value More...
 
static void MMSetRight (this RectTransform rt, float right)
 Sets the right offset of a rect transform to the specified value More...
 
static void MMSetTop (this RectTransform rt, float top)
 Sets the top offset of a rect transform to the specified value More...
 
static void MMSetBottom (this RectTransform rt, float bottom)
 Sets the bottom offset of a rect transform to the specified value More...
 

Detailed Description

RectTransform extensions

Member Function Documentation

◆ MMSetBottom()

static void MoreMountains.Tools.MMRectTransformExtensions.MMSetBottom ( this RectTransform  rt,
float  bottom 
)
static

Sets the bottom offset of a rect transform to the specified value

Parameters
rt
bottom

◆ MMSetLeft()

static void MoreMountains.Tools.MMRectTransformExtensions.MMSetLeft ( this RectTransform  rt,
float  left 
)
static

Sets the left offset of a rect transform to the specified value

Parameters
rt
left

◆ MMSetRight()

static void MoreMountains.Tools.MMRectTransformExtensions.MMSetRight ( this RectTransform  rt,
float  right 
)
static

Sets the right offset of a rect transform to the specified value

Parameters
rt
right

◆ MMSetTop()

static void MoreMountains.Tools.MMRectTransformExtensions.MMSetTop ( this RectTransform  rt,
float  top 
)
static

Sets the top offset of a rect transform to the specified value

Parameters
rt
top

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