大约有 341 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0046 秒)
... Laya.stage.off(Event.MOUSE_MOVE, this, onMouseMove); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Rotate { private sp: Sprite; private preRadian: number = 0;...
来源: Laya_示例 发布时间: 20241117
...后会留下残影 现在只是简单的色块改变位置 package { import laya.display.Sprite; import laya.events.Event; import laya.events.IEventDispatcher; import laya.utils.Browser; import laya.utils.Tween; public class testVH { protected var _tip:Sprite; public function testVH() {...
来源: Laya_社区 发布时间: 20190520
...= endPosition; Tween.to(button, { x: targetX }, 100); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Interaction_Swipe { //swipe滚动范围 priv...
来源: Laya_示例 发布时间: 20241117
...rget.name + "\n"; } } new Interaction_FixInteractiveRegion();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_FixInteractiveRegion { private log...
来源: Laya2.0_示例 发布时间: 20241117
...this.destoryJoint); } } new Physics_Physics_CollisionFiltering();package { import laya.display.Sprite; import laya.display.Stage; import laya.events.Event; import laya.physics.BoxCollider; import laya.physics.ChainCollider; import laya.physics.CircleCollider; import laya.physics.joint.MouseJoint; im...
来源: Laya2.0_示例 发布时间: 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
...,flash获取data为byteArray,翻译成h5后data为image? package { import flash.display.Bitmap; import flash.display.Loader; import flash.display.Sprite; import flash.events.Event; import flash.net.URLLoader; import flash.net.URLLoaderDataFormat; import flash.net.URLRequest; import flash.utils...
来源: Laya_社区 发布时间: 20151228
...x + dy * dy); } return distance; } } new Interaction_Scale();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Scale { //上次记录的两个触模点之间距离 privat...
来源: Laya2.0_示例 发布时间: 20241117
...startDrag(dragRegion, true, 100); } } new Interaction_Drag();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 =...
来源: Laya2.0_示例 发布时间: 20241117
...e。 能帮忙看是什么原因么? 具体代码: package { import laya.display.Text; import laya.events.Event; import laya.net.Socket; import laya.utils.Byte; import laya.utils.Log; import laya.webgl.WebGL; // import laya.webgl.WebGL; ...
来源: Laya_社区 发布时间: 20170209