包含 Bolt Visual Scripting 示例的 Unity 包的集合。 每个示例都演示了如何使用 Unity 编辑器功能、游戏逻辑等,无需编写任何代码。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

4.2 KiB

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.

Setup Samples Credits

NOTE:

  • If you grab the project files directly instead of the .unitypackage, you may need to restart the editor after opening the project.

BoltSamples


Setup

The easiest way to get started:

  1. Download the most recent version of the Unity Bolt Samples from the Releases section.

  2. Use the Unity Hub 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

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. Get the project package + setup / requirements here.


🏃🏽‍♀️ Endless Runner Game

EndlessRunnerPreview

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. Get the project package + setup / requirements here.


🎨 Market Demo (Visual Scripting for Artists)

BoltUI

A more advanced demo featuring Bolt graphs for UI / dialouge, handling audio & animations, third person controls, scene management, working with Timeline, and more. Get the project package + setup / requirements here.


🚀 Space Demo (Visual Scripting for Programmers)

BoltForProgrammers_UniteNow2020_small

A demo from Unite Now 2020 showing how to use C# scripts with Bolt. Feautres examples for using / customizing C# functions within visual scripting graphs, custom unit creation, accessing Bolt events & variables in C# scripts, & more. Get the project package + setup / requirements here.


🔜 Additional samples in the works!


Credits

Some of the samples in this project is use the Bolt Kit: Third Person for Unity template - which uses 2D & 3D assets by Kenney.