大约有 1,204 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0049 秒)
Laya_社区(690) Laya_示例(137) Laya2.0_文档(123) Laya2.0_示例(116) Laya3.0_文档(59) Laya3.0_api(39) laya_api(29) Laya2.0_api(11)
... Laya.Browser; import WebGL = Laya.WebGL; export class Timer_DelayExcute { private button1: Sprite; private button2: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.align...
来源: Laya_示例 发布时间: 20241123
...ort class Interaction_Scale { //上次记录的两个触模点之间距离 private lastDistance: number = 0; private sp: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.a...
来源: Laya2.0_示例 发布时间: 20241123
...rea = Laya.HitArea; import WebGL = Laya.WebGL; export class Sprite_Guide { private red:Sprite; private guideContainer:Sprite; private tipContainer:Sprite; private guideSteps:Array = [ { x: 151, y: 575, radius:150, tip:"../../res/guide/help6.png", tipx:200, tipy:250 }, { x: 883, y: 620, radius:100, t...
来源: Laya_示例 发布时间: 20241123
...alse; } }class ColiderDemo { /**键盘的上下左右控制猴子位移**/ private scene:Laya.Scene; private camera:Laya.Camera; private layaMonkey:Laya.Sprite3D; private layaMonkeyMeshSprite3D:Laya.SkinnedMeshSprite3D; private _tempUnitX1:Laya.Vector3 = new Laya.Vector3(0, 0, -0.1); private _tempUn...
来源: Laya_示例 发布时间: 20241123
...import WebGL = Laya.WebGL; export class Interaction_FixInteractiveRegion { private logger: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya...
来源: Laya_示例 发布时间: 20241123
... Laya.Browser; import WebGL = Laya.WebGL; export class Timer_DelayExcute { private button1: Sprite; private button2: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.align...
来源: Laya2.0_示例 发布时间: 20241123
...rea = Laya.HitArea; import WebGL = Laya.WebGL; export class Sprite_Guide { private red:Sprite; private guideContainer:Sprite; private tipContainer:Sprite; private guideSteps:Array = [ { x: 151, y: 575, radius:150, tip:"res/guide/help6.png", tipx:200, tipy:250 }, { x: 883, y: 620, radius:100, tip:"re...
来源: Laya2.0_示例 发布时间: 20241123
...ya.Browser; import WebGL = Laya.WebGL; export class Sprite_SwitchTexture { private texture1: string = "res/apes/monkey2.png"; private texture2: string = "res/apes/monkey3.png"; private flag: boolean = false; private ape: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Bro...
来源: Laya2.0_示例 发布时间: 20241123
...Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Rotate { private sp: Sprite; private preRadian: number = 0; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alig...
来源: Laya_示例 发布时间: 20241123
...import WebGL = Laya.WebGL; export class Interaction_FixInteractiveRegion { private logger: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya...
来源: Laya2.0_示例 发布时间: 20241123