当场景切换时

场景
Both Server and Client
Only PC
可触发:
游戏实体

在场景切换成功时触发

声明

event OnSceneSwitch(sceneName string)
go

参数

名称 类型 描述
场景名字 String 场景名