mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
更新文档
更新文档
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
## 3-1.资源模块 - ResourceModule
|
||||
|
||||
#### 资源模块默认使用Addressable可寻址定位。(!注意需要打包的资源不可以重名)
|
||||
|
||||
资源模块运行模式有EditorSimulateMode、OfflinePlayMode以及HostPlayMode
|
||||
编辑器模式下以顶部导航栏的选项卡为优先选项,打包后以Scene场景中ResourceModule脚本的Enum选项卡为优先选项(打包后不会走EditorSimulateMode)
|
||||
|
||||
@@ -18,7 +21,9 @@ Menu窗口TEngineSetting可以设置一些资源模块的热更新设置,比
|
||||
* ArcCacheTable (Adaptive Replacement Cache缓存表)
|
||||
|
||||
## 加载资源示范
|
||||
注意!资源模块默认使用Addressable可寻址定位。传入资源名字无需后缀即可!!
|
||||
``` csharp
|
||||
|
||||
//同步加载。
|
||||
GameModule.Resource.LoadAsset<SkillDisplayData>(location);
|
||||
|
||||
|
Reference in New Issue
Block a user