Gameplay Ingredients是一组用于 Unity 游戏的运行时和编辑器工具:一组脚本的集合,可在制作游戏和原型时简化简单的任务。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2.6 KiB

openupm

Gameplay Ingredients for your Unity Games - A collection of scripts that ease simple tasks while making games and prototypes.

You can read Documentation at this address : https://peeweek.readthedocs.io/en/latest/gameplay-ingredients/

Requirements

  • Unity 2019.3 (Older versions compatible with 2018.3 / 2019.1 / 2019.2)
  • Package Manager UI
  • (Optional : Command-line Git installed on your system, for example Git For Windows)

How to install

Install via OpenUPM

The package is available on the openupm registry. It's recommended to install it via openupm-cli.

openupm add net.peeweek.gameplay-ingredients

Install via Git URL

You can perform a git referenced package in your manifset.json file : this option shall download and manage automatically the repository, with the drawback of being read-only.

Install via Local Package

You can use a manual, local package installation if you need to alter the code locally or update the code base regularly.

  • Clone this repository somewhere of your liking
  • In your project, open the Window/Package Manager window and use the + button to select the Add Package from Disk... option.
  • Navigate to your repository folder and select the package.json file
  • The package shall be added as a local package

Git Reference Version

  • Ensure you have a Command Line Git Installed
  • With Unity 2019.3 closed, edit the Packages/manifest.json with a text editor
  • Append the line "net.peeweek.gameplay-ingredients": "https://github.com/peeweek/net.peeweek.gameplay-ingredients.git#2019.3.3", under dependencies

You can check that the package was imported by looking at the project window, under Packages/ Hierarchy, there should be a Gameplay Ingredients hierarchy

Version / Tag Compatibility

Gameplay Ingredients comes at latest version with the following compatibility:

Unity 2019.3 : clone and check out the master branch at the tag 2019.3.3

Older Versions

  • Unity 2018.3 / 2018.4 : choose the tag 2018.3.0
  • Unity 2019.1 / 2019.2 : choose the tag 2019.1.2