C# Class UIExtension, RoverGame

Inheritance: MonoBehaviour
ファイルを表示 Open project: Stumpstump/RoverGame Class Usage Examples

Public Methods

Method Description
SetSize ( RectTransform trans, Vector2 newSize ) : void

Set the size for the UI element.

Method Details

SetSize() public static method

Set the size for the UI element.
public static SetSize ( RectTransform trans, Vector2 newSize ) : void
trans UnityEngine.RectTransform The Rect transform referenced.
newSize Vector2 The New size.
return void