Add Crosshair Assembler Asset to Your Project
The first thing to do is to add the Crosshair Assembler pack into your project.
If the pack is correctly included in your project, the content browser should have “CrosshairAssembler” under the Content folder like the following:
Run our Demo Scenes
Crosshair Assembler offers three overview scenes CrosshairOverviewBasic, CrosshairOverviewAdvanced, and CrosshairOverviewScopes in CrosshairAssembler/Demo/Maps that include crosshair samples in
CrosshairAssembler/CrosshairSamples/CrosshairBasic, CrosshairAssembler/CrosshairSamples/CrosshairAdvanced, and CrosshairAssembler/CrosshairSamples/CrosshairScopes, respectively.
To run the demo, open a scene (We open CrosshairOverviewBasic here) and play it.
Available Actions
The Crosshair Demo Player Movement script on the Player supports move (w, a, s, and d) and jump (spacebar). And the Crosshair Demo Player Recoil script on the Player supports shoot (left click) actions of the player. Users can also change the crosshairs (c and z). Brief information about the crosshair setup is displayed by the debug text, which can be toggled by tab.
Keys
Action | Key |
---|---|
Move | W A S D |
Jump | Spacebar |
Shoot | Left Mouse Button |
Next Crosshair sample | C |
Previous Crosshair sample | Z |