大约有 2,055 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0073 秒)
...个三角形,示例代码如下: ```javascript module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class Sprite_DrawShapes { private sp: Sprite; constructor() { ...
来源: Laya2.0_文档 发布时间: 20210714
...lete(e) { logger.text += "收到数据:" + hr.data; } })();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import HttpRequest = Laya.HttpRequest; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Network_POST { private hr: HttpReque...
来源: Laya_示例 发布时间: 20241117
...lete(e) { logger.text += "收到数据:" + hr.data; } })();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import HttpRequest = Laya.HttpRequest; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Network_GET { private hr: HttpReques...
来源: Laya_示例 发布时间: 20241117
... animate(e) { ape1.rotation += 2; ape2.rotation -= 4; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_NodeControl { private ape1: Sprite; private ape2: Sprite; constr...
来源: Laya_示例 发布时间: 20241117
...,默认为true。可下面代码为什么结果是false? module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Test { private h1: Laya.Handler; private h2: Laya.Handler; constructor() { // 不支持WebGL时自动切...
来源: Laya_社区 发布时间: 20171221
...on animate(e) { sp1.rotation += 2; sp2.rotation += 2; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Pivot { private sp1: Sprite; private sp2: Sprite; constructor() ...
来源: Laya_示例 发布时间: 20241117
...滑动效果) ape.startDrag(dragRegion, true, 100); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Rectangle = Laya.Rectangle; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = L...
来源: Laya_示例 发布时间: 20241117
...{ mCurrIndex = 0; } mArmature.play(mCurrIndex,false); } })();module laya { import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Event = Laya.Event; import Browser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class ChangeSkin { private mAniPath:string; ...
来源: Laya_示例 发布时间: 20241117
....text += "收到数据:" + hr.data; } } new Network_POST();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import HttpRequest = Laya.HttpRequest; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Network_POST { private hr: HttpReque...
来源: Laya2.0_示例 发布时间: 20241117
... += 2; this.ape2.rotation -= 4; } } new Sprite_NodeControl();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_NodeControl { private ape1: Sprite; private ape2: Sprite; constr...
来源: Laya2.0_示例 发布时间: 20241117