Nenhuma descrição
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

ScreenResolution.cs 314B

1234567891011121314
  1. using UnityEngine;
  2. namespace Unity.PlasticSCM.Editor.UI
  3. {
  4. internal static class ScreenResolution
  5. {
  6. internal static string Get()
  7. {
  8. return string.Format("{0}x{1}",
  9. Screen.currentResolution.width,
  10. Screen.currentResolution.height);
  11. }
  12. }
  13. }