Class AirSteerModuleWrapper
MonoBehaviour wrapper for the AirSteer module. Goes on the GameObject that has the VehicleController; handles MonoBehaviour lifecycle and serialization while the contained module does the aerial control.
Namespace: NWH.VehiclePhysics2.Modules.AirSteer
Assembly: NWH.VehiclePhysics2.dll
Syntax
[Serializable]
[DisallowMultipleComponent]
public class AirSteerModuleWrapper : ModuleWrapper
Fields
module
The air steer module instance that handles aerial vehicle control.
Declaration
public AirSteerModule module
Field Value
| Type | Description |
|---|---|
| AirSteerModule |
Methods
GetModule()
Gets the air steer module instance.
Declaration
public override VehicleComponent GetModule()
Returns
| Type | Description |
|---|---|
| VehicleComponent | The AirSteerModule instance as a VehicleComponent. |
Overrides
SetModule(VehicleComponent)
Sets the air steer module instance.
Declaration
public override void SetModule(VehicleComponent module)
Parameters
| Type | Name | Description |
|---|---|---|
| VehicleComponent | module | The VehicleComponent to set as the air steer module. |