https://github.com/shaun-fong/gfextension-debuggerplus
An Extension of the GameFraemwork Debugger. GF的增强调试器Debugger+
https://github.com/shaun-fong/gfextension-debuggerplus
common debugger editor gameframework gf unity
Last synced: 11 months ago
JSON representation
An Extension of the GameFraemwork Debugger. GF的增强调试器Debugger+
- Host: GitHub
- URL: https://github.com/shaun-fong/gfextension-debuggerplus
- Owner: Shaun-Fong
- License: mit
- Created: 2022-01-23T09:10:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-23T10:09:20.000Z (over 4 years ago)
- Last Synced: 2025-04-15T16:03:58.912Z (about 1 year ago)
- Topics: common, debugger, editor, gameframework, gf, unity
- Language: C#
- Homepage:
- Size: 42 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GFExtension-DebuggerPlus
[](https://imgtu.com/i/75M8t1)
[](https://imgtu.com/i/75MGfx)
## 使用
把目录`~Example/Prefabs`下的`DebuggerPlus`拖入场景中运行。
### 命令行功能使用
使用命令行功能您将会要用到C#的Attribute(特性)。
添加一个命令如下的静态代码
```C#
[RegisterCommand(Name = "test", Help = "Example Command")]
static void ExampleCommandTest(CommandArg[] args)
{
Debug.Log("ExampleCommandTest");
}
```
## 安装
使用该增强调试器前请先确保您有安装[GameFramework](http://gameframework.cn)。
通过[Release](https://github.com/Shaun-Fong/GFExtension-DebuggerPlus/releases)下载UnityPackage,Unity直接导入即可。
## 报错
您导入可能会遇到提示报错,是因为没有正确引用程序集。只需要按照下方方法调整方可正常使用。
[](https://imgtu.com/i/75Ml79)
### Editor
[](https://imgtu.com/i/75M3kR)
在Unity的Project窗口视图中,请进入如下路径目录`DebuggerPlus/Editor/`找到`DebuggerPlus.Editor.asmdef`
选中丢失引用的程序集,点击-号移除,点击+号分别添加如下程序集引用
1. GameFramework
2. UnityGameFramework.Editor
3. UnityGameFramework.Runtime
### Runtime
[](https://imgtu.com/i/75MQ0J)
在Unity的Project窗口视图中,请进入如下路径目录`DebuggerPlus/Runtime/`找到`DebuggerPlus.Runtime.asmdef`
选中丢失引用的程序集,点击-号移除,点击+号分别添加如下程序集引用
1. GameFramework
2. UnityGameFramework.Runtime
## 使用到的开源仓库
[GitHub - stillwwater/command_terminal](https://github.com/stillwwater/command_terminal)
[GitHub - EllanJiang/GameFramework](https://github.com/EllanJiang/GameFramework)