Documentation

Unity Engine

Download Unity

Unity Engine

scaleFactor

Scales the entire canvas, ensuring it fits the screen. It only applies when Canvas.renderMode is set to Screen Space.
Read time 1 minuteLast updated 6 hours ago

Definition

public float scaleFactor { get; set; }