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