using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; using MuHua; /// /// 菜单 - 输入 /// public class InputMenu : InputControl { private UIMenuPanel menu; protected override void ModuleInput_OnInputMode(InputMode mode) { // throw new System.NotImplementedException(); } #region 输入系统 /// 鼠标左键 public void OnMouseLeft(InputValue inputValue) { if (inputValue.isPressed) return; ManagerMenu.I.Close(); } /// 鼠标右键 public void OnMouseRight(InputValue inputValue) { ManagerMenu.I.Open(); } #endregion }