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; }
protected override void OnRelease(PlayerActor player) { player.ClearItems(); player.ClearParticles(); if (!player.OldEnabledHoldingHand) { return; } ((Behaviour)player.HandsHolder).set_enabled(true); player.OldEnabledHoldingHand = false; }
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); }
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); }
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(); }