# ⚡ Unity Bolt Samples
A collection of Unity packages featuring Bolt Visual Scripting samples. Each sample demonstrates how to work with Unity editor features, game logic, & more without having to write a single line of code. **All samples can be found in this repo's [Releases section](https://github.com/avashly/Unity-BoltKit-Samples/releases).**
[Setup](#setup) | [Samples](#samples) | [Credits](#credits)
------------ | ------------- | -------------
**NOTE:**
- A Unity 2019.4 LTS or 2020.1 project with the [Universal Render Pipeline](https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@8.2/manual/InstallingAndConfiguringURP.html) pre-installed is required to use these samples.
- If you grab the project files directly instead of the .unitypackage, you may need to restart the editor after opening the project.
![BoltSamples](https://user-images.githubusercontent.com/7104693/88254850-67026a80-cc6b-11ea-8d39-28171e2a961b.gif)
## Setup
The easiest way to get started:
1. Download the most recent version of the Unity Bolt Samples from the [Releases section](https://github.com/avashly/Unity-BoltKit-Samples/releases).
2. Use the [Unity Hub](https://docs.unity3d.com/Manual/GettingStartedInstallingHub.html) to open a new Unity 2019.4 LTS or 2020.1 project using the Universal Render Pipeline template.
3. In the menu bar, navigate to Assets > Import Package > Custom Package & select the package you downloaded earlier to import it into your project.
4. Accept the prompts from the Bolt installer that appear and use the default settings. After this, you're all set!
## Samples
### 🔮 Working with Shader Graph, Materials, & More
![BoltSamples](https://user-images.githubusercontent.com/7104693/89501410-2715aa00-d778-11ea-98eb-ec78396781ec.gif)
Includes samples for working with Shader Graph, materials, keyboard input, colliders / triggers, game object tags, & scene management. Additional documentation coming soon. The sample Bolt macros can be found within BoltKit_ThirdPerson_Samples > Macros.
### 🏃🏽♀️ Endless Runner Game
![EndlessRunnerPreview](https://user-images.githubusercontent.com/7104693/89501426-2da42180-d778-11ea-8b56-23b55796c51a.gif)
A basic example of a 2D endless runner game that uses flow graphs & state graphs. Includes Bolt graphs that handle basic physics, scoring, UI updates, & animations. Bolt macro graphs are located within BoltSamples_2_EndlessRunner > Macros. Additional Bolt embed graphs are on the Game Manager object in the EndlessRunner scene
### 🔜 Additional samples in the works!
## Credits
Some of the samples in this project is use the [Bolt Kit: Third Person for Unity](https://assetstore.unity.com/packages/templates/tutorials/bolt-kit-third-person-for-unity-167662) template - which uses 2D & 3D assets by [Kenney](https://www.kenney.nl/).