大约有 1,204 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0048 秒)
Laya_社区(690) Laya_示例(137) Laya2.0_文档(123) Laya2.0_示例(116) Laya3.0_文档(59) Laya3.0_api(39) laya_api(29) Laya2.0_api(11)
...s Sprite { CONFIG::debug { private static var logger:Logger = new Logger(); private var log:ILogger; } public function Game() { CONFIG::debug { ...
来源: Laya_社区 发布时间: 20200217
...ing 加载特效报重复加载 export default class TransformDemo{ private scene:Laya.Scene3D; private position:Laya.Vector3 = new Laya.Vector3(0, 0, 0); private position1:Laya.Vector3 = new Laya.Vector3(0, 0, 0); private rotate:Laya.Vector3 = new Laya.Vector3(0, 1, 0...
来源: Laya_社区 发布时间: 20190509
...bGL; import Event = Laya.Event; export class InputDevice_GluttonousSnake { private seg:Segment; private segments:Array = []; private foods:Array = []; private initialSegmentsAmount:number = 5; private vx:number = 0 private vy:number = 0; private targetPosition:Point; constructor() { Laya.init(Browse...
来源: Laya_示例 发布时间: 20241123
...ort Handler = Laya.Handler; export class InputDevice_Map { // 百度地图 private map; private marker; private BMap = Browser.window.BMap; private convertor = new this.BMap.Convertor(); // Div private mapDiv; private infoText:Text; constructor() { Laya.init(Browser.width, 255); Laya.stage.scaleMode...
来源: Laya2.0_示例 发布时间: 20241123
LayaAir引擎 as中 slider的两个private类改为protected 在进行自定义组件时,发现 laya.ui.Slider中有两个 private 的方法 mouseUp, mouseMove,因为使用了private,所以子类不能继承,不能修改。 2016-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20161227
...age.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { this.listenKeyboard(); this.createLogger(); Laya.timer.frameLoop(1, this, this.keyboardInspector); } private listenKeyboard(): void { this.keyDownList = []; //添加键盘按下事件,一直按着某...
来源: Laya_示例 发布时间: 20241123
...bGL; import Event = Laya.Event; export class InputDevice_GluttonousSnake { private seg:Segment; private segments:Array = []; private foods:Array = []; private initialSegmentsAmount:number = 5; private vx:number = 0 private vy:number = 0; private targetPosition:Point; constructor() { Laya.init(Browse...
来源: Laya2.0_示例 发布时间: 20241123
...Laya.WebGL; import Event = Laya.Event; export class InputDevice_Compasss { private compassImgPath:string = "../../res/inputDevice/kd.png"; private compassImg:Sprite; private degreesText:Text; private directionIndicator:Sprite; private firstTime:Boolean = true; constructor() { Laya.init(700, 1024, We...
来源: Laya_示例 发布时间: 20241123
...ser = Laya.Browser; import WebGL = Laya.WebGL; export class Network_POST { private hr: HttpRequest; private logger: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH =...
来源: Laya_示例 发布时间: 20241123
...wser = Laya.Browser; import WebGL = Laya.WebGL; export class Network_GET { private hr: HttpRequest; private logger: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH =...
来源: Laya_示例 发布时间: 20241123