コード例 #1
0
ファイル: WindowManager.cs プロジェクト: SunsetK/UnityMaptool
 public void OnPress(bool _press)
 {
     if (_press)
     {
         WindowsManager.SetDepthTop(this.gameObject);
     }
 }
コード例 #2
0
ファイル: WarningPopup.cs プロジェクト: SunsetK/UnityMaptool
 public void OnEnable()
 {
     WindowsManager.SetDepthTop(this.gameObject);
     background.GetComponent <UIPanel>().depth = gameObject.GetComponent <UIPanel>().depth;
     background.SetActive(true);
 }