• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 552 项符合查询结果, 库内数据总量为 30,956 项。 (搜索耗时: 0.0057 秒)

101. 属性设置器(ActionScript-IDE篇(AS3)-设计模式基础) [ 82%]

...示默认为true。 ## 3、宽高及位置属性 宽高及位置属性在UI制作中有着很重要的作用。主要用于调整位置及UI屏幕适配(图4)。 ![图片1.png](img/4.png)(图4) ### 3.1 xy属性 xy属性是组件在场景编辑器中的xy轴坐标。 场景编辑器...

来源: Laya2.0_文档 发布时间: 20210714

102. UI-Input [ 82%]

...= Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; skins = ["../../res/ui/input (1).png", "../../res/ui/input (2).png", "../../res/ui/input (3).png", "../../res/ui/input (4).png"]; Laya.loader.load(skins, Handler.create(this, onLoadComplete)); //加载资源。 })(); function onLoadComplete() { ...

来源: Laya_示例 发布时间: 20250405

103. UI-Input [ 82%]

...G = 100, INPUT_WIDTH = 300, INPUT_HEIGHT = 50, Y_OFFSET = 50, skins; class UI_Input { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.align...

来源: Laya2.0_示例 发布时间: 20250405

104. laya.ui.RadioGroup_API3.0 [ 82%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/RadioGroup" RadioGroup Class RadioGroup RadioGroup 控件定义一组 Radio 控件,这些控件相互排斥; 因此,用户每次只能选择一个 Radio 控件。 example 以下示例代码,创建了一个 RadioGro...

来源: Laya3.0_api 发布时间: 20231115

105. shader 问题[关闭] [ 82%]

... 问题[关闭] 自己动手丰衣足食是不是所有的 uniform 和attrbuite 都写在 Laya.Value2D 扩展里面 类似      attribute vec2 position;     attribute vec2 texcoord;     attribute vec4 color;     uniform vec2 size;     uniform mat4 mmat;     varying vec2 v_texcoord;varyi...

来源: Laya_社区 发布时间: 20180313

106. 引擎示例中的新手引导自己写了一次,不知道为什么无法实现点击。 [ 82%]

...写了一次,不知道为什么无法实现点击。 (function() { var guideSteps = [ { x: 151, y: 575, radius: 150, tip: "../../res/guide/help6.png", tipx: 200, tipy: 250 }, { x: 883, y: 620, radius: 100, tip: "../../res/guide/help4.png", tipx: 730, tipy: 380 }, { x: 1128, y: 583, radius: 110, ti...

来源: Laya_社区 发布时间: 20171031

107. laya.ui.Radio_API3.0 [ 81%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/Radio" Radio Class Radio Radio 控件使用户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio 组中的一个成员。选择未选中的组成员将取消选择该组中当前所选...

来源: Laya3.0_api 发布时间: 20231115

108. 发现bug,update大问题!!!!!!!!! 2.13版本 [ 81%]

...n } from "../common/windows/BaseWin"; import Const from "../Const"; import UIMain from "../ui/Game/UIMain";  export default class GameWnd extends BaseWin {     public view: UIMain;     /** 角色 */     private character: Laya.Sprite     /** 角色刚体*/     private rig: Laya.RigidBody ...

来源: Laya_社区 发布时间: 20221207

109. ts,案例中的 子弹的脚本 [ 81%]

...实例里面子弹射击测试,GitHub上没有吗? layaAirIde 的导出ui代码的脚本在哪里 laya2.0 ts脚本需要 import ** from ** 问题 laya2.0 GameConfig怎么更新有scene的脚本? 使用CreateHeightMap脚本生成高度图的时候,高度图旋转了90°是什么原因? 官...

来源: Laya_社区 发布时间: 20190828

110. hitTestPoint对象父容器rotation旋转之后检测不了碰撞 [ 81%]

... Laya.init(600, 400); this.onLoaded() function onLoaded(): void { //实例UI界面 var testUI: FishPonds = new FishPonds(); Laya.stage.addChild(testUI); Laya.timer.loop(1000, this, function () { testUI.rotation = 360 console.log("rotation!" + testUI.rotation); }); } 附件 : --> hitTestPoint.zip 201...

来源: Laya_社区 发布时间: 20180315