/// <summary> /// Updates the events. After SQLHandler has fetched data, it calls the UpdateEventList method. /// </summary> /// <param name="hidden">Hidden.</param> public void UpdateEvents(ShowHide hidden) { if (!hidden.targetObjHidden) { this.GetComponent <SQLHandler>().updateAllEvents(); } }
void ShowGameObject(GameObject g, bool isShowing) { ShowHide showScript = g.GetComponent <ShowHide> () as ShowHide; if (g.activeSelf && showScript && !isShowing && showScript.m_renderers.Length > 0) { showScript.EnableRenderers(false); } else { g.SetActive(isShowing); } }
public IEnumerator DetectShop() { ShowHide pMenu = GameObject.FindGameObjectWithTag("PurchaseMenu").GetComponent <ShowHide>(); while (true) { yield return(null); if (pMenu.Shown) { break; } } }
public void OnShowHideButton(Office.IRibbonControl control) { ShowHide?.Invoke(this, null); }
/// <summary> /// Updates the events. After SQLHandler has fetched data, it calls the UpdateEventList method. /// </summary> /// <param name="hidden">Hidden.</param> public void UpdateEvents(ShowHide hidden) { if(!hidden.targetObjHidden) { this.GetComponent<SQLHandler>().updateAllEvents(); } }
internal string ShowUnInstDetails(ShowHide mode) { return "ShowUnInstDetails " + mode.ToString().ToLower(); }
void Awake() { _sh = GetComponent <ShowHide>(); _active = false; }