大约有 341 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0045 秒)
分享:销毁龙骨动画! package { import laya.ani.bone.Skeleton; import laya.ani.bone.Templet; import laya.display.Sprite; import laya.events.Event; import laya.utils.Browser; import laya.utils.Stat; import laya.webgl.WebGL; public class ASDemo { private var mAniPath:String; private var mFac...
来源: Laya_社区 发布时间: 20170406
...age.addChild(this.logger); } } } new laya.Interaction_Keyboard();package { import laya.display.Stage; import laya.display.Text; import laya.events.Event; import laya.utils.Browser; import laya.webgl.WebGL; public class Interaction_Keyboard { private var logger:Text; private var keyDownList:Array; pu...
来源: Laya2.0_示例 发布时间: 20241117
...omponent(CameraMoveScript); }); } } new PBRDemo();package advancedModule { import common.CameraMoveScript; import laya.d3.core.scene.Scene; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; /** * ... * @author ... */ public class PBRDemo { public function PBRDemo() { Laya3...
来源: Laya_示例 发布时间: 20241117
...e() { this.apesCon.rotation += 1; } } new Sprite_Container();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_Container { // 该容器用于装载4张猩猩图片 private ape...
来源: Laya2.0_示例 发布时间: 20241117
...Laya.stage.width, Laya.stage.height); } } new SmartScale_T();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import Image = Laya.Image; import WebGL = Laya.WebGL; export class SmartScale_T { //所有适配模式 private modes:...
来源: Laya2.0_示例 发布时间: 20241117
... Laya.Laya.stage.removeChild(this.label); } } new Physics_Physics_Bridge();import { Laya } from "Laya"; import { Sprite } from "laya/display/Sprite"; import { Stage } from "laya/display/Stage"; import { Event } from "laya/events/Event"; import { BoxCollider } from "laya/physics/BoxCollider"; import ...
来源: Laya2.0_示例 发布时间: 20241117
...aya.Laya.stage.removeChild(this.label); } } new Physics_Physics_Tumbler(); import { Laya } from "Laya"; import { Sprite } from "laya/display/Sprite"; import { Stage } from "laya/display/Stage"; import { Browser } from "laya/utils/Browser"; import { RigidBody } from "laya/physics/RigidBody"; import {...
来源: Laya2.0_示例 发布时间: 20241117
...外的字符像素,并且支持scroll接口。 ```typescript package { import laya.display.Text; import laya.webgl.WebGL; public class Text_AutoSize { public function Text_AutoSize() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); setup(); } private function setup():void { ...
来源: Laya2.0_文档 发布时间: 20210715
# Texture资源销毁 ```java package { import laya.display.Animation; import laya.display.Sprite; import laya.events.Event; import laya.events.Keyboard; import laya.utils.Stat; import laya.webgl.WebGL; public class ClearTextureResTest { private var sp:Sprite; public function ClearTextureResTest() {...
来源: Laya2.0_文档 发布时间: 20210714
# Texture资源销毁 ```java package { import laya.display.Animation; import laya.display.Sprite; import laya.events.Event; import laya.events.Keyboard; import laya.utils.Stat; import laya.webgl.WebGL; public class ClearTextureResTest { private var sp:Sprite; public function ClearTextureResTest() {...
来源: Laya2.0_文档 发布时间: 20200929