[6.5.0][视角切换] 添加获取当前视角的接口

This commit is contained in:
renwj
2024-07-01 12:06:19 +08:00
parent 59acceb7c0
commit 81e4bea8ea
11 changed files with 40 additions and 25 deletions

View File

@@ -22,8 +22,12 @@ object CallerVisualAngleManager {
}
}
fun changeAngle(scene: Scene) {
provider?.changeAngle(scene)
fun changeScene(scene: Scene) {
provider?.changeScene(scene)
}
fun getCurrentScene(): Scene {
return provider?.getCurrentScene() ?: throw AssertionError()
}
fun updateLongSightLevel(level: Boolean) {