OnElevatorCall
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnElevatorCall( Elevator instance, Elevator elevatorEnt )
{
Puts( "OnElevatorCall works!" );
}
Location
- Elevator::<CallElevator>b__26_0(Elevator elevatorEnt)
csharp
[CompilerGenerated]
private void <CallElevator>b__26_0(Elevator elevatorEnt)
{
if (elevatorEnt.IsTop)
{
if (Interface.CallHook("OnElevatorCall", this, elevatorEnt) != null)
{
return;
}
float num;
elevatorEnt.RequestMoveLiftTo(this.Floor, out num, this);
//---