public void BackClick() { if (hideDelay <= 0 && MenuSystem.CustomCanInvoke(checkMenuState: false, checkNetworkState: false) && onBack != null) { Action action = onBack; Hide(backHideDelay); action(); } }