C# Class UIStretch, Prototype

Inheritance: MonoBehaviour
Afficher le fichier Open project: Lifespark/Prototype Class Usage Examples

Méthodes publiques

Свойство Type Description
initialSize Vector2
panelContainer UIPanel
relativeSize Vector2
runOnlyOnce bool
style Style
uiCamera Camera
widgetContainer UIWidget

Méthodes publiques

Méthode Description
Awake ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

initialSize public_oe property

The size that the item/image should start out initially. Used for FillKeepingRatio, and FitInternalKeepingRatio. Contributed by Dylan Ryan.
public Vector2 initialSize
Résultat Vector2

panelContainer public_oe property

Panel used to determine the container's bounds. Overwrites the widget-based anchoring if the value was specified.
public UIPanel panelContainer
Résultat UIPanel

relativeSize public_oe property

Relative-to-target size.
public Vector2 relativeSize
Résultat Vector2

runOnlyOnce public_oe property

Whether the operation will occur only once and the script will then be disabled.
public bool runOnlyOnce
Résultat bool

style public_oe property

Stretching style.
public Style style
Résultat Style

uiCamera public_oe property

Camera used to determine the anchor bounds. Set automatically if none was specified.
public Camera uiCamera
Résultat Camera

widgetContainer public_oe property

Widget used to determine the container's bounds. Overwrites the camera-based anchoring if the value was specified.
public UIWidget widgetContainer
Résultat UIWidget