EventHelperSetEventCgTextureData 方法 |
设置一个事件CG数据,可以是展示CG的需求,也可以是隐藏当前展示中的CG贴图的需求
命名空间: GameData.Domains.TaiwuEvent.EventHelper程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法public static void SetEventCgTextureData(
string texturePath,
float tweenTime,
string modName = ""
)
参数
- texturePath String
- 要展示的CG贴图的路径(传入空字符串则对当前显示中的CG贴图渐隐)
- tweenTime Single
- 贴图渐显/渐隐的时间
- modName String (Optional)
- 贴图所属的mod名,如果传入这个值,将会去mod对应文件夹路径检索该资源
参见