コード例 #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);
        }