Search Unity

About folding devices...

Discussion in 'General Graphics' started by areavisuale, Mar 8, 2019.

  1. areavisuale


    Jul 23, 2015
    Hi there,
    soon the developer comunity will have to develop apps with an interface adaptable also to the new folding devices as Samsung Galaxy Fold, or Huawei Mate X.
    Are there any guides for us?
    For example, I'm using Screen.height, Screen.width, and Screen.dpi to tell my app if I'm using a smartphone or a tablet, and change the UI at runtime. These values will change after opening/closing the phone? Are there any functions that are triggered when the screen change? (like.. onScreenChange())

    Thank for any suggestion