UnityRuntimeInspector 项目教程
1. 项目的目录结构及介绍
UnityRuntimeInspector 项目的目录结构如下:
UnityRuntimeInspector/
├── Assets/
│ ├── Plugins/
│ │ ├── RuntimeInspector/
│ │ │ ├── Editor/
│ │ │ ├── Prefabs/
│ │ │ ├── Scripts/
│ │ │ ├── Textures/
│ │ │ ├── RuntimeInspector.meta
│ │ │ └── ...
│ │ └── ...
│ └── ...
├── Packages/
├── ProjectSettings/
└── ...
目录结构介绍
- Assets/: Unity 项目的主要资源目录。
- Plugins/: 存放第三方插件的目录。
- RuntimeInspector/: UnityRuntimeInspector 插件的主要目录。
- Editor/: 包含编辑器扩展脚本。
- Prefabs/: 包含预制体资源,如
RuntimeInspector
和RuntimeHierarchy
。 - Scripts/: 包含运行时检查器和层次结构的主要脚本。
- Textures/: 包含插件使用的纹理资源。
- RuntimeInspector/: UnityRuntimeInspector 插件的主要目录。
- Plugins/: 存放第三方插件的目录。
2. 项目的启动文件介绍
UnityRuntimeInspector 项目的启动文件主要是 RuntimeInspector
和 RuntimeHierarchy
预制体。
启动文件介绍
- RuntimeInspector: 这是一个预制体,用于在运行时检查和修改游戏对象的属性。
- RuntimeHierarchy: 这是一个预制体,用于在运行时显示和管理游戏对象的层次结构。
3. 项目的配置文件介绍
UnityRuntimeInspector 项目的配置文件主要是 RuntimeInspector
和 RuntimeHierarchy
预制体的组件配置。
配置文件介绍
-
RuntimeInspector: 包含以下主要组件:
- RuntimeInspector: 主检查器组件,用于显示和修改游戏对象的属性。
- Connected Hierarchy: 关联的层次结构组件,用于显示和管理游戏对象的层次结构。
-
RuntimeHierarchy: 包含以下主要组件:
- RuntimeHierarchy: 主层次结构组件,用于显示和管理游戏对象的层次结构。
- Connected Inspector: 关联的检查器组件,用于显示和修改游戏对象的属性。
通过这些配置文件,可以在运行时动态地查看和修改游戏对象的属性和层次结构。