大约有 15 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0022 秒)
...数值) 要截取的时间点 / 动画的总时长 state1.clipStart = 10/40; //设置动作状态播放的结束时间 state1.clipEnd = 20/40; //得到默认动画赋值给Clip(getDefaultState默认动画为Unity中animation的数组顺序0下标的动画) state1.clip = ani.getDefaultState().c...
来源: Laya2.0_文档 发布时间: 20210715
...数值) 要截取的时间点 / 动画的总时长 state1.clipStart = 10/40; //设置动作状态播放的结束时间 state1.clipEnd = 20/40; //得到默认动画赋值给Clip(getDefaultState默认动画为Unity中animation的数组顺序0下标的动画) state1.clip = ani.getDefaultState().c...
来源: Laya2.0_文档 发布时间: 20210715
...数值) 要截取的时间点 / 动画的总时长 state1.clipStart = 10/40; //设置动作状态播放的结束时间 state1.clipEnd = 20/40; //得到默认动画赋值给Clip(getDefaultState默认动画为Unity中animation的数组顺序0下标的动画) state1.clip = ani.getDefaultState().c...
来源: Laya2.0_文档 发布时间: 20210715
... scene.fogStart = 10; //设置雾化最浓处的距离。 scene.fogRange = 40; ``` 效果显示(图4): (图4)
来源: Laya2.0_文档 发布时间: 20210714
... scene.fogStart = 10; //设置雾化最浓处的距离。 scene.fogRange = 40; ``` 效果显示(图4): (图4)
来源: Laya2.0_文档 发布时间: 20210715
... scene.fogStart = 10; //设置雾化最浓处的距离。 scene.fogRange = 40; ``` 效果显示(图4): (图4)
来源: Laya2.0_文档 发布时间: 20210715
...; _lab.text = "test"; _lab.height = 100; _lab.width = 100; _lab.fontSize = 40; _lab.pos(200,200); Laya.stage.addChild(_lab); //给脚本的加强表现用方法赋值 _script.showMsgFunc = function () { this.text = "ShowMsg"; this.color = "red"; }.bind(_lab); })); ``` 最后了来看下效果,如...
来源: Laya2.0_文档 发布时间: 20210715
...; _lab.text = "test"; _lab.height = 100; _lab.width = 100; _lab.fontSize = 40; _lab.pos(200,200); Laya.stage.addChild(_lab); //给脚本的加强表现用方法赋值 _script.showMsgFunc = function () { this.text = "ShowMsg"; this.color = "red"; }.bind(_lab); })); ``` 最后了来看下效果,如...
来源: Laya2.0_文档 发布时间: 20210715
...; _lab.text = "test"; _lab.height = 100; _lab.width = 100; _lab.fontSize = 40; _lab.pos(200,200); Laya.stage.addChild(_lab); //给脚本的加强表现用方法赋值 _script.showMsgFunc = function ():void { text = "ShowMsg"; color = "red"; }.bind(_lab); })); ``` 最后了来看下效果,如图2...
来源: Laya2.0_文档 发布时间: 20210715
...er.width) / 2 - 35; counter.y = (Laya.stage.height - counter.height) / 2 - 40; Laya.stage.addChild(counter); } function showTotalSeconds() { var clip = new Clip(clipSkin, 10, 1); clip.index = clip.clipX - 1; clip.pos(counter.x + 60, counter.y); Laya.stage.addChild(clip); } function createController(...
来源: Laya2.0_文档 发布时间: 20210715