/// <summary>Raised after the player presses a button on the keyboard, controller, or mouse.</summary>
 /// <param name="sender">The event sender.</param>
 /// <param name="e">The event data.</param>
 private void OnButtonPressed(object sender, ButtonPressedEventArgs e)
 {
     if (!Context.IsWorldReady)
     {
         return;
     }
     if (e.Button == SButton.MouseLeft)
     {
         _handler.HandleClick(e.Cursor);
     }
 }
        private void Button_Pressed_Event(object sender, EventArgsInput e)
        {
            if (!Context.IsWorldReady)
            {
                return;
            }

            if (e.Button == SButton.MouseLeft)
            {
                _handler.HandleClick(e);
            }
        }