示例#1
0
        private void SelectFireModeWithDPad()
        {
            if (!EnableModeSelectionWithDPad.Value)
            {
                return;
            }

            if (DPad.GetInputDown(DPadInput.Right) || DPad.GetInputDown(DPadInput.Down))
            {
                CycleFireMode();

                return;
            }

            if (DPad.GetInputDown(DPadInput.Left) || DPad.GetInputDown(DPadInput.Up))
            {
                CycleFireMode(false);
            }
        }
示例#2
0
        public void Update()
        {
            DPad.Update();

            SelectFireMode();
        }