Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


scaleFactor

Scales the entire canvas, ensuring it fits the screen. It only applies when _renderMode is set to Screen Space.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public float scaleFactor { get; set; }