Skip to content

OnElevatorMove ​

Usage ​

  • No return behavior

Example Autogenerated ​

csharp
private void OnElevatorMove(  )
{
    Puts( "OnElevatorMove works!" );
}

Location ​

  • Elevator::RequestMoveLiftTo(int targetFloor, System.Single& timeToTravel, Elevator fromElevator)
csharp
protected bool RequestMoveLiftTo(int targetFloor, out float timeToTravel, Elevator fromElevator)
{
	timeToTravel = 0f;
	if (Interface.CallHook("OnElevatorMove", this, targetFloor) != null)
	{
		return false;
	}
	if (base.IsBusy())
	{
//---

Released under the MIT License.