GitHub - HeNuoLibrary/UPMLibrary: 这是自己总结的 unity package 库 · GitHub
Skip to content

HeNuoLibrary/UPMLibrary

Folders and files

Repository files navigation

插件库 简介

这是一个Unity Package Manager 的插件库文件

添加插件

创建一个插件分支git checkout -b upm

添加Package.json

{
  "name": "com.henuo.upm",
  "version": "1.0.0",
  "displayName": "upm",
  "description": "upm 插件",
  "repository": {
      "type": "git",
      "url": "https://github.com/HeNuoScott/UPMLibrary.git"
  },
  "unity": "2021.3",
  "documentationUrl": "https://github.com/qiankanglai/LoopScrollRect/blob/master/README.md",
  "licensesUrl": "https://github.com/qiankanglai/LoopScrollRect/blob/master/LICENSE.md",
  "dependencies": {
    "com.unity.ugui": "1.0.0"
  },
  "keywords": [
    "UGUI"
  ],
  "author": {
    "name": "Kanglai Qian",
    "email": "qiankanglai@gmail.com",
    "url": "https://qiankanglai.me"
  },
  "samples": [
    {
      "displayName": "Demo",
      "description": "Contains several Loop Scroll demo",
      "path": "Samples~/Demo"
    }
  ]
}

添加标签

git tag 1.0.0 upm

git push origin upm --tags

使用

unity dependencies 添加 "com.henuo.upm": "https://github.com/HeNuoScott/UPMLibrary.git#1.0.0"

==### 错误进行删除使用==

git tag -d 1.0.0;

git push origin :1.0.0

About

这是自己总结的 unity package 库

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors