public override void DisableElement(bool hide) { changeVisibility(!hide); GetComponent <MainNavButton>().SetButtonEnabled(enabled: false); if (Breadcrumb != null) { Breadcrumb.SetActive(value: false); } QuestButtonSpriteSelector component = base.gameObject.GetComponent <QuestButtonSpriteSelector>(); if (component != null) { component.OnButtonDisabled(); } }