Home › Forums › Software Development › Finding Screen Size and units › Reply To: Finding Screen Size and units
27/02/2014 at 15:59 #527

Participant
Update: If you are using the latest Unity SDK package (version 0.14 or later), you only need these lines in OnDisplaySizeSettingEvent
private void OnDisplaySizeSettingEvent(SettingsBag settings)
{
Size2 displaySize;
settings.TryGetSettingValue(out displaySize, SettingsPaths.EyeTracking, SettingsPaths.DisplaySize);
print("Display size: " + displaySize.Width + " x " + displaySize.Height + " mm");
}