Пример #1
0
 void Awake()
 {
     _instance = this;
     _lastOrientation = Input.deviceOrientation;
     _lastWidth = Screen.width;
     _lastHeight = Screen.height;
     _lastDpi = Screen.dpi;
 }
Пример #2
0
 void Awake()
 {
     _instance        = this;
     _lastOrientation = Input.deviceOrientation;
     _lastWidth       = Screen.width;
     _lastHeight      = Screen.height;
     _lastDpi         = Screen.dpi;
 }