跳到主要内容
版本:v3

快速上手

重要 注意 提醒

Coding Style wiki


开始安装 OxGFrame with YooAsset + HybridCLR

步骤 1. (安装依赖)

通过 Package Manager 安装 (Install via git)

https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask

通过 Package Manager 安装 (Install via git)

https://github.com/michael811125/LWMyBox.git

通过 Package Manager 安装 (Install via git)

https://github.com/michael811125/OxGKit.git?path=Assets/OxGKit/LoggingSystem/Scripts

通过 Package Manager 安装 (Install via git)

https://github.com/michael811125/OxGKit.git?path=Assets/OxGKit/SaverSystem/Scripts

通过 Package Manager 安装 (Install via git)

https://github.com/michael811125/OxGKit.git?path=Assets/OxGKit/TimeSystem/Scripts

通过 Package Manager 安装 (Install via git)

https://github.com/michael811125/OxGKit.git?path=Assets/OxGKit/Utilities/Scripts

通过 Package Manager 安装 (Install via git)

https://github.com/focus-creative-games/hybridclr_unity.git

通过 Package Manager 安装 (Install by name)

com.unity.textmeshpro

通过 Package Manager 安装 (Install by name)

com.unity.nuget.newtonsoft-json

步骤 2. (安装框架)

方法一

OxGFrame

通过 Package Manager 安装 (Install via git)

https://github.com/michael811125/OxGFrame.git?path=Assets/OxGFrame

管理组件导入 (Samples)

方法二

直接下载源码 (Code Download ZIP)

复制 OxGFrame 文件夹到 Unity 新项目的 Assets 目录下。

提醒 如果没有要自行更改框架的需求,建议直接使用 Package Manager 方式安装



方法三

如果只有特定模块使用需求,可以单独安装该模块。

https://github.com/michael811125/OxGFrame.git?path=Assets/OxGFrame/AssetLoader
https://github.com/michael811125/OxGFrame.git?path=Assets/OxGFrame/CoreFrame
https://github.com/michael811125/OxGFrame.git?path=Assets/OxGFrame/MediaFrame
https://github.com/michael811125/OxGFrame.git?path=Assets/OxGFrame/Hotfixer
https://github.com/michael811125/OxGFrame.git?path=Assets/OxGFrame/GSIFrame
https://github.com/michael811125/OxGFrame.git?path=Assets/OxGFrame/CenterFrame
https://github.com/michael811125/OxGFrame.git?path=Assets/OxGFrame/NetFrame

内置第三方依赖库


宏定义

框架 API

※备注 : 建议详看各模块的 Example (注意 "res#" 和 "build#" 的使用规则)。

额外有需要编写 BuildTool 的可以调用

框架配置

可以通过 Right-Click 创建配置文件,进行部分设定客制化。

PatchSettings

HotfixSettings

CodeBindingSettings

CryptogramSettings