Class VehicleCamera
Base class for vehicle camera implementations with automatic target detection.
Namespace: NWH.Common.Cameras
Assembly: NWH.Common.dll
Syntax
public class VehicleCamera : MonoBehaviour
Fields
| Edit this page View Sourcetarget
Transform to track. Auto-detects parent Rigidbody if not assigned.
Declaration
[Tooltip("Transform that this script is targeting. Can be left empty if head movement is not being used.")]
public Transform target
Field Value
| Type | Description |
|---|---|
| Transform |
Methods
| Edit this page View SourceAwake()
Declaration
public virtual void Awake()