Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Refactor Packages

Unity License

包名 描述 源码仓库
com.refactor.fsm 数组索引驱动的 enum FSM,使用共享上下文,支持从已有的 FSM 克隆并增删状态从而生成派生 FSM refactor-op/com.refactor.fsm
com.refactor.gas 字节码栈机,将基础值与修饰符编译成指令流并解释执行,支持 Float/Double 精度 refactor-op/com.refactor.gas
com.refactor.pooling 零分配、确定性生命周期管理的对象池,支持自定义策略与 RAII 模式 refactor-op/com.refactor.pooling

安装

通过 Package Manager (推荐)

  1. 打开管理界面 Edit/Project Settings/Package Manager
  2. 添加 Scoped Registry:
Name: package.openupm.com
URL: https://package.openupm.com
Scope(s): com.refactor
  1. 打开管理界面 Window/Package Manager
  2. 切换到 My Registries,搜索 com.refactor 即可安装

通过 Packages

直接修改 Packages 文件夹下的清单文件 manifest.json

{
  "dependencies": {
    "com.refactor.xxx": "x.y.z"
  },
  "scopedRegistries": [
    {
      "name": "package.openupm.com",
      "url": "https://package.openupm.com",
      "scopes": [
        "com.refactor"
      ]
    }
  ]
}

注意:请根据需求选择版本号

通过 Github 下载安装

在发布的 Release 版本中,选择最新版本下载 Source Code 压缩包

或者使用 Git URL 安装:

https://github.com/refactor-op/com.refactor.xxx.git

贡献指南

欢迎提交 PR & Issue

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors