RectOffset
UnityObjectLink
RectOffset

class:/TYPE/UnityEngine.RectOffset//, can be loaded from an assetbundle using RectOffset::createfromassetbundle(bundlename,prefabname) /

Parent

UnityObjectLink

Variables
bottom
System.Int32 bottom
horizontal
readonly System.Int32 horizontal
left
System.Int32 left
right
System.Int32 right
top
System.Int32 top
vertical
readonly System.Int32 vertical
Functions
add
UnityEngine.Rect Add(
UnityEngine.Rect rect
)

UnityEngine.Rect rect-no documentation

Parameters

rect -

Returns

UnityEngine.Rect

rectoffset::​create
static UnityEngine.RectOffset Create ()

Constructor replaces new;

Returns

UnityEngine.RectOffset

rectoffset::​create
static UnityEngine.RectOffset Create (
System.Int32 left,
System.Int32 right,
System.Int32 top,
System.Int32 bottom
)

Constructor replaces new;

Parameters
left
System.Int32

no description

right
System.Int32

no description

top
System.Int32

no description

bottom
System.Int32

no description

Returns

UnityEngine.RectOffset

rectoffset::​fromassetbundle
static UnityEngine.RectOffset CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.RectOffset

remove
UnityEngine.Rect Remove(
UnityEngine.Rect rect
)

UnityEngine.Rect rect-no documentation

Parameters

rect -

Returns

UnityEngine.Rect

tostring
System.String ToString()
Returns

System.String

tostring
System.String ToString(
System.String format
)

System.String format-no documentation

Parameters

format -

Returns

System.String