widthMultiplier Field

Gets or sets how wide should one item be in relation to the ScrollRect Width.

1f means same width, 0.5f means half width.

Works only if ScrollRect is horizontal.

[Tooltip("How wide should one item be in relation to the ScrollRect Width. 1f means same width, 0.5f means half width. Works only if ScrollRect is horizontal.")] 
public float widthMultiplier
This language is not supported or no code example is available.

Field Value

float

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition