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