Ejemplo n.º 1
0
        protected override void OnRelease(PlayerActor player)
        {
            player.ClearItems();
            player.ClearParticles();
            ActorAnimInfo animInfo = player.Animation.AnimInfo;

            player.SetStand(player.Animation.RecoveryPoint, animInfo.endEnableBlend, animInfo.endBlendSec, animInfo.directionType);
            player.Animation.RefsActAnimInfo = true;
        }
Ejemplo n.º 2
0
 protected override void OnRelease(PlayerActor player)
 {
     player.ClearItems();
     player.ClearParticles();
     if (!player.OldEnabledHoldingHand)
     {
         return;
     }
     ((Behaviour)player.HandsHolder).set_enabled(true);
     player.OldEnabledHoldingHand = false;
 }
Ejemplo n.º 3
0
        protected override void OnRelease(PlayerActor player)
        {
            player.ClearItems();
            player.ClearParticles();
            if (Object.op_Inequality((Object)player.CurrentPoint, (Object)null))
            {
                player.CurrentPoint.SetActiveMapItemObjs(true);
            }
            ActorAnimInfo animInfo = player.Animation.AnimInfo;

            player.SetStand(player.Animation.RecoveryPoint, animInfo.endEnableBlend, animInfo.endBlendSec, animInfo.directionType);
        }
Ejemplo n.º 4
0
        protected override void OnRelease(PlayerActor player)
        {
            Vector3 locatedPosition = player.CurrentPoint.LocatedPosition;

            locatedPosition.y = ((Component)player.Locomotor).get_transform().get_position().y;
            RaycastHit raycastHit;

            Physics.Raycast(locatedPosition, Vector3.op_Multiply(Vector3.get_down(), 10f), ref raycastHit);
            locatedPosition.y = ((RaycastHit) ref raycastHit).get_point().y;
            ((Component)player.Locomotor).get_transform().set_position(locatedPosition);
            ActorAnimInfo animInfo = player.Animation.AnimInfo;

            player.SetStand(player.Animation.RecoveryPoint, animInfo.endEnableBlend, animInfo.endBlendSec, animInfo.directionType);
            player.ClearParticles();
            player.Partner?.ClearParticles();
            player.SetActiveOnEquipedItem(true);
        }
Ejemplo n.º 5
0
        protected override void OnRelease(PlayerActor player)
        {
            Singleton <Manager.Input> .Instance.ReserveState(Manager.Input.ValidType.Action);

            Singleton <Manager.Input> .Instance.SetupState();

            player.SetScheduledInteractionState(true);
            player.ReleaseInteraction();
            player.ClearParticles();
            player.Partner?.ClearParticles();
            if (this._onEndActionDisposable != null)
            {
                this._onEndActionDisposable.Dispose();
            }
            if (this._onEndInAnimDisposable == null)
            {
                return;
            }
            this._onEndInAnimDisposable.Dispose();
        }