使用示例里引用的api接口不存在
Opened this issue · 0 comments
HuowangLee commented
所属页面地址
https://api-docs.ark.online/classes/mw.IntegratedMover.html#scalespeed
选中内容
protected async onStart(): Promise<void> {
if (Util.SystemUtil.isClient()) {
// 创建长方体1和长方体2
this.Obj1 = await mw.GameObject.asyncSpawn("197386") as mw.GameObject;
this.Obj2 = await mw.GameObject.asyncSpawn("197386") as mw.GameObject;
// 设置起始位置
this.Obj1.setWorldLocation(new mw.Vector(300.0, 200.0, 200.0));
this.Obj2.setWorldLocation(new mw.Vector(300.0, -200.0, 200.0));
// 设置起始缩放
this.Obj1.setWorldScale(new mw.Vector(1.0, 1.0, 1.0));
this.Obj2.setWorldScale(new mw.Vector(1.0, 1.0, 1.0));
请选择反馈的问题类型
不准确 - 接口调不通/接口参数错误/接口返回和文档不一致
补充说明
No response