Skip to content

cnoom/UnityEnergySystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EnergySystem

简单的能量系统,用于解决单机游戏进入关卡消耗体力等功能,需要依赖unityTool库,支持自定义恢复规则和能量最大值

如何安装?

{
  "dependencies": {
    "com.cnoom.energy": "https://github.com/cnoom/UnityEnergySystem.git"
  }
}

如何使用

通过Init方法初始化最大体力值和恢复速率即可使用

已知弊端

目前无法解决玩家修改本地时间的问题

About

依赖于UnityTool的简单体力系统,可供单机游戏使用

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages