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); }
private void OnEndSet(PlayerActor player) { if (this.getAnimalFlag) { if (this.getIteminfo != null && this.addItem != null) { MapUIContainer.AddSystemItemLog(this.getIteminfo, this.addItem.Count, true); } else { MapUIContainer.AddNotify(MapUIContainer.ItemGetEmptyText); } } player.ClearItems(); player.Animal = (AnimalBase)null; MapUIContainer.SetCommandLabelAcception(CommandLabel.AcceptionState.InvokeAcception); player.PlayerController.ChangeState("Normal"); }
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.Animation.RefsActAnimInfo = true; player.ClearItems(); player.ClearParticles(); player.Partner?.ClearItems(); player.Partner?.ClearParticles(); }