大约有 93 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0081 秒)
龙骨skeleton鼠标点击区域的设置 2016-11-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 cuixueying 赞同来自: asdf131 2017-07-10 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: asdf131 ...
来源: Laya_社区 发布时间: 20161122
...质颜色时模型变黑 为什么无法使用 meshRender.sharedMaterials 设置材质 为什么replace方法貌似没有用?!!?是不是哪里没用对?并不能替换是为什么?? 我浏览在线文档 关于共享材质和自身材质的代码 貌似没有什么不同? 问题状...
来源: Laya_社区 发布时间: 20250425
...ion Tree_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree...
来源: Laya3.0_api 发布时间: 20231115
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...
来源: laya_api 发布时间: 20170929
...源面板中有一个图片LayaAir.png,将场景中Image组件的皮肤设置为这张图片,这时,可以右键此图片,选择在场景中查找引用,如动图2-6所示,这样就可以搜索到引用此资源的组件了。 (动图2-6) 2.3 隐藏节点 按动图2-7所示,可以隐...
来源: Laya3.0_文档 发布时间: 20251011
...ckBox_Example { public function CheckBox_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/check.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():...
来源: Laya3.0_api 发布时间: 20231115
... Button_Example { public function Button_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete()...
来源: Laya3.0_api 发布时间: 20231115
..._Example { public function List_Example() { Laya.init(640, 800, "false");//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/...
来源: Laya3.0_api 发布时间: 20231115
...可在此方法中进行一些初始化的操作,如获取组件引用、设置初始状态等。onDestroy方法在游戏对象被销毁时调用,可在此方法中释放游戏对象所占用的资源,如内存、纹理等,以避免内存泄漏和资源浪费。通过合理利用这些生命...
来源: Laya3.0_文档 发布时间: 20251010
...er_Example { public function ColorPicker_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():...
来源: Laya3.0_api 发布时间: 20231115