예제 #1
0
 public void RemoveControlListener(AxisType axisType, GamepadControlChangeEvent listener)
 {
     if (ControlMap.ContainsKey(axisType))
     {
         ControlMap[axisType].GamepadControlChange -= listener;
     }
 }
예제 #2
0
파일: Gamepad.cs 프로젝트: ADM87/GameSys
        public void RemoveControlListener(AxisType axisType, GamepadControlChangeEvent listener)
        {
            IGamepadControl control;

            if (ControlMap.TryGetValue(axisType, out control))
            {
                control.GamepadControlChange -= listener;
            }
        }