/// <summary> /// Called when an input is received. /// </summary> /// <param name="input">The input.</param> public override void OnInput(Input input) { base.OnInput(input); if (this.menu.IsVisible) { input.SendTo(this.menu); } }
/// <summary> /// Called when an input is received. /// </summary> /// <param name="input">The input.</param> public virtual void OnInput(Input input) => input.SendTo(this);