Beispiel #1
0
 public void OnPress(bool _press)
 {
     if (_press)
     {
         WindowsManager.SetDepthTop(this.gameObject);
     }
 }
Beispiel #2
0
 public void SetY()
 {
     try
     {
         MapSize = new Vector2(MapSize.x, Convert.ToInt32(yLabel.text));
     }
     catch
     {
         WindowsManager.PopupWarning(WARNING_MESSAGES.MAP_SETTING.ONLY_NUMBER);
     }
 }
Beispiel #3
0
 public void WindowInit(bool _isWarningObj = false)
 {
     WindowsManager.AddChildren(this.gameObject, _isWarningObj);
 }
Beispiel #4
0
 public void OnEnable()
 {
     WindowsManager.SetDepthTop(this.gameObject);
     background.GetComponent <UIPanel>().depth = gameObject.GetComponent <UIPanel>().depth;
     background.SetActive(true);
 }