Namespace NWH.Common.Demo
Classes
DemoCameraNameDisplay
Displays the name of the currently active main camera in a Text component. Updates every 0.1 seconds.
DemoOscillator
Moves a Rigidbody in a sinusoidal oscillation pattern. Useful for creating moving platforms or obstacles in demo scenes.
DemoRotator
Continuously rotates a Rigidbody at a constant rate. Useful for rotating platforms or visual elements in demo scenes.
DemoVehicleNameDisplay
Displays the name and type of the currently active vehicle in a Text component. Updates every 0.1 seconds.
DemoWelcomeMessage
Controls the display of a welcome message panel in demo scenes. Shows the message when running outside the editor. Can be placed directly on the welcome message GameObject as a standalone prefab.
DragObject
Simple script that drags Rigidbody behind the mouse cursor when MMB is held down.
FpsToText
Displays the current framerate in a Text component with optional color coding. Supports both instantaneous and averaged FPS measurements.
RigidbodyFPSController
Simple first-person controller using physics-based movement. Useful for testing and navigating demo scenes on foot.