Documentation

Unity Engine

Unity Engine

Ratio(float)

Create a ratio from a float value.
Read time 1 minuteLast updated 2 months ago

Definition

public Ratio(float value)

Parameters

value

represent the actual ratio. A values of 0 and is not valid for use with the aspect-ratio property.