コード例 #1
0
 public override void Tick()
 {
     if (currentWeaponRuntime != null)
     {
         currentWeaponRuntime.Tick();
     }
 }
コード例 #2
0
        public override void Tick()
        {
            currentWeaponItemRuntime.Tick();
            if (currentWeaponItemRuntime.weaponItemData.weaponType != WeaponType.FISTS)
            {
                if (throwWeaponInputAction.value.value)
                {
                    DropWeaponToGround(true, currentWeaponItemRuntime);
                    WeaponToggle();
                }

                if (toggleWeaponInputAction.value.value)
                {
                    WeaponToggle();
                }
            }
        }