public virtual bool OnConfirm(float value) { if (decorator != null) { decorator.OnConfirm(value); } return(false); }
protected virtual bool OnConfirm(float value) { if (menuItems.Length > 0 && selectedItem != null && selectedItem.HandleConfirmInput(value, this)) { return(true); } if (decorator != null) { decorator.OnConfirm(value); } return(false); }