大约有 58 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0037 秒)
...asticOut这个回弹效果的次数和时间,即缓动效果的幅度。 static elasticOut(t: number, b: number, c: number, d: number, a?: number, p?: number): number; 我看这个是有参数可以控制的,但是在tween中怎么使用这些参数? cuixueying • 2016-09-22 22:10 /** * 以...
来源: Laya_社区 发布时间: 20160913
... ) 前往OPPO官网文档([https://cdofs.oppomobile.com/cdo-activity/static/201810/26/quickgame/documentation/games/use.html](https://cdofs.oppomobile.com/cdo-activity/static/201810/26/quickgame/documentation/games/use.html))我们找到`安装 runtime.apk 包到 OPPO 手机上`这个栏目,...
来源: Laya2.0_文档 发布时间: 20210715
....text = Stat.FPS.toString(); } } } class Character extends Sprite { public static WIDTH: number = 110; public static HEIGHT: number = 110; private speed: number = 5; private bloodBar: Sprite; private animation: Animation; private nameLabel: Text; constructor(images: Array) { super(); this.createAnim...
来源: Laya_示例 发布时间: 20250221
.../该方法示例仅做参考,视项目情况自行修改或拓展 public static var getUrlAndEncode:Function = function(url:String,type:String):String { if (url.indexOf(".fnt") != -1 || url.indexOf("xxx.json") != -1) { return "utf8"; } else if (type == "arraybuffer") { return ""; } return "ascii";...
来源: Laya2.0_文档 发布时间: 20210715
....text = Stat.FPS.toString(); } } } class Character extends Sprite { public static WIDTH: number = 110; public static HEIGHT: number = 110; private speed: number = 5; private bloodBar: Sprite; private animation: Animation; private nameLabel: Text; constructor(images: Array) { super(); this.createAnim...
来源: Laya2.0_示例 发布时间: 20250221
.../**解决因为卡顿在多点触摸期间导致的bug*/ private static SingletonList_expand(){ Laya.SingletonList.prototype["_remove"] = function(index){ // @xd added, 如果index == -1 不执行 if(index == -1){ ...
来源: Laya_社区 发布时间: 20190618
...,比如Texture,默认为false */ public static function clearRes(url:String, forceDispose:Boolean = false):void { Loader.clearRes清理你把里面的第二个参数设置成false试试 如果还是不行的话你就把资源清理方法改用一下这个方法!还...
来源: Laya_社区 发布时间: 20180424
... private mConnected: boolean; /** 开启*/ public static OPEN: string = "open"; /** 关闭*/ public static CLOSE: string = "close"; /** io错误*/ public static IO_ERROR: string = "io-error"; /** 数据*/ ...
来源: Laya_社区 发布时间: 20161109