Blueprint Demo

The Blueprint Demo shows the five ready-made weapons on a blueprint. Each weapon is labeled with the parts it’s built from, and you can switch to a testing mode to fire it at targets.

Open it from the ModularWeaponSystem_Examples hub, or from Glowing Rifts/Modular Weapon System/Examples/BlueprintExample/BlueprintDemo.unity.

๐ŸŽฎ Controls

InputAction
Mouse scrollSwitch weapon
VSwitch between the blueprint and testing mode
Left mouse buttonFire
Right mouse buttonSecondary fire (Shotgun, Grenade Rifle) or steer rockets (Rocket Launcher)
RReload

โš™๏ธ How It Works

  • The player holds all five weapons. Cycler turns one on at a time.
  • BlueprintManager switches the testing mode: BlueprintTester shows the hologram and labels in blueprint mode, and the body and weapons in testing mode.
  • Spawner spawns targets with a Health and Hitbox from the Modular Health System.
  • BulletView shows the ammo left in the magazine.

๐Ÿ“ Scripts

ScriptRole
BlueprintManagerSwitches between blueprint and testing mode
BlueprintTesterShows the body or the hologram, and relays the weapons’ reload events to the animator
CyclerSwitches the active weapon
SpawnerSpawns targets
BulletViewAmmo display