C# Class UIExtensions, skater-xl-mod-core

Datei anzeigen Open project: SkaterXLModding/skater-xl-mod-core Class Usage Examples

Public Methods

Method Description
SetAnchor ( RectTransform rt, float xMin, float yMin, float xMax, float yMax ) : void
SetOffset ( RectTransform rt, float left, float top, float right, float bottom ) : void

Method Details

SetAnchor() public static method

public static SetAnchor ( RectTransform rt, float xMin, float yMin, float xMax, float yMax ) : void
rt RectTransform
xMin float
yMin float
xMax float
yMax float
return void

SetOffset() public static method

public static SetOffset ( RectTransform rt, float left, float top, float right, float bottom ) : void
rt RectTransform
left float
top float
right float
bottom float
return void