大约有 5 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0029 秒)
...sBar.value += 0.05; } function onChange(value) { console.log("进度:" + Math.floor(value * 100) + "%"); } })(); ```
来源: Laya2.0_文档 发布时间: 20210715
... 0.05; } private onChange(value: number): void { console.log("进度:" + Math.floor(value * 100) + "%"); } } } new laya.UI_ProgressBar(); ```
来源: Laya2.0_文档 发布时间: 20210715
...调***/ private function onChange(value:Number):void { trace("进度:" + Math.floor(value * 100) + "%"); } } } ```
来源: Laya2.0_文档 发布时间: 20210715
...yBuffer.getChannelData(channel); for (var i = 0; i < frameCount; i++) { // Math.random() is in [0; 1.0] // audio needs to be in [-1.0; 1.0] nowBuffering[i] = Math.random() * 2 - 1; } } // Get an AudioBufferSourceNode. // This is the AudioNode to use when we want to play an AudioBuffer var source = a...
来源: Laya2.0_文档 发布时间: 20210715
...e game { import laya.display.Sprite; import laya.events.Event; import laya.maths.Rectangle; import laya.ui.Button; import laya.ui.Image; import laya.utils.Tween; /** *ImageRunTime逻辑类 * @author mengjia * */ public class ImageRunTime extends Button { //缩放时间100毫秒 public var scaleTime:...
来源: Laya2.0_文档 发布时间: 20210714