Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ScaleMode.ScaleToFit

Description

Scales the texture, maintaining aspect ratio, so it completely fits withing the position rectangle passed to GUI.DrawTexture.