Class ParkingSpotWrapper
Modder-facing wrapper for a parking spot within a lot.
public sealed class ParkingSpotWrapper
- Inheritance
-
ParkingSpotWrapper
- Inherited Members
- Extension Methods
Properties
Alignment
Alignment enum for this spot.
public ParkingAlignment Alignment { get; }
Property Value
AlignmentPoint
Alignment Point for Occupant Vehicle
public Transform AlignmentPoint { get; }
Property Value
- Transform
IsFree
True if the spot currently has no vehicle occupant.
public bool IsFree { get; }
Property Value
OccupantVehicle
LandVehicle currently occupying this spot
public LandVehicle? OccupantVehicle { get; }
Property Value
Methods
SetOccupant(LandVehicle)
Sets the vehicle currently occupying this spot
public void SetOccupant(LandVehicle vehicle)
Parameters
vehicleLandVehicle