Пример #1
0
        private void MouseScroll(MouseScrollWheel value)
        {
            var tempWeapon = ServiceLocator.Resolve <Inventory>().SelectWeapon(value);

            SelectWeapon(tempWeapon);
        }
Пример #2
0
 public static void RemoveWeapon()
 {
     ServiceLocator.Resolve <WeaponController>().Off();
     _weaponNumber = 0;
 }
Пример #3
0
        private void SelectWeapon(int value)
        {
            var tempWeapon = ServiceLocator.Resolve <Inventory>().SelectWeapon(value);

            SelectWeapon(tempWeapon);
        }