private void EndTransfer() { Whinch.SetSoundState(false); CachedAudioSource.PlayOneShot(ArrivalSound); CurrentFloor = TargetFloor; TryOpenDoors(); }
private void UpdateWhinch(Vector3 liftPosition, Vector3 liftFrameTargetPosition) { Whinch.ApplyLiftPositionDelta(liftFrameTargetPosition.y - liftPosition.y); }
private void BeginTransfer() { CurrentFloor = null; Whinch.SetSoundState(true); StartCoroutine(LiftTransferRoutine()); }