//有动作版移除
        private void DoDrawUnarmWeaponWithAction()
        {
            DoSpecialAppearance();
            int   heldConfigId = HeldConfigId;
            float holsterParam = WeaponUtil.GetUnArmHolsterParam(HeldSlotType);

            RelatedCharState.CharacterUnmount(() => DoHolsterStart(heldConfigId),
                                              () => DoHolsterEnd(), holsterParam);
            onWeaponSwitchEvt(this, heldConfigId, EInOrOff.Off);
        }
Exemplo n.º 2
0
        //有动作版移除
        private void DoDrawUnarmWeaponWithAction(Action callback)
        {
            DoSpecialAppearance();
            int   heldConfigId = HeldConfigId;
            float holsterParam = WeaponUtil.GetUnArmHolsterParam(HeldSlotType);

            RelatedCharState.CharacterUnmount(() => RelatedAppearence.JustUnMountWeaponFromHand(),
                                              () => DoUnArmFinished(heldConfigId, callback),
                                              holsterParam);
            onWeaponSwitchEvt(this, heldConfigId, EInOrOff.Off);
        }