Esempio n. 1
0
 public void OnPress(bool _press)
 {
     if (_press)
     {
         WindowsManager.SetDepthTop(this.gameObject);
     }
 }
Esempio n. 2
0
 public void OnEnable()
 {
     WindowsManager.SetDepthTop(this.gameObject);
     background.GetComponent <UIPanel>().depth = gameObject.GetComponent <UIPanel>().depth;
     background.SetActive(true);
 }