fix
This commit is contained in:
@@ -249,7 +249,7 @@ export class SceneBgVideoLayer extends li_BaseView {
|
||||
} else {
|
||||
targetWorldPos = new Vec3(pos.x, pos.y, pos.z || 0);
|
||||
}
|
||||
this.videoPlayer.node.setWorldPosition(targetWorldPos);
|
||||
this.videoPlayer.node.setPosition(targetWorldPos);
|
||||
logger.log(
|
||||
`SceneBgVideoLayer: 设置视频位置 (${targetWorldPos.x}, ${targetWorldPos.y}, ${targetWorldPos.z})`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user