大约有 585 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0036 秒)
Laya3.0_api(219) Laya_社区(140) Laya2.0_api(110) laya_api(67) Laya2.0_文档(22) Laya_示例(20) Laya3.0_文档(7)
... updateDivMsg(data: model.ChatItem, div: Laya.HTMLDivElement, parent: Laya.Component) { let style = div.style; style.valign = "bottom"; style.fontSize = 24; style.leading = 2; style.wordWrap = false; style.bold = true; style.color = model.textColors.WHITE; div.innerHTML = data.message; div...
来源: Laya_社区 发布时间: 20180629
...建一个自定义的组件脚本: import Sprite = Laya.Sprite; import Component = Laya.Component; import Nav2DAgent = Laya.Nav2DAgent; const { regClass, property } = Laya; @regClass() export class TestSprite extends Laya.Script { // 用于显示鼠标点击的位置 @property({ type: Laya.Sprite ...
来源: Laya3.0_文档 发布时间: 20250214
...关API中找到相关属性)。 另外:我在官方文档中注意到Component组件有一个dataSource属性,类型为*,但未在文档任何地方发现关于这个属性的使用例子,见附件图片 2016-08-18 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...
来源: Laya_社区 发布时间: 20160818
...于加解密--> <script type="text/javascript" src="thirdlibs/components/core-min.js"></script> <script type="text/javascript" src="thirdlibs/rollups/rc4.js"></script> <script type="text/javascript" src="thirdlibs/rollups/md5.js"></script> ...
来源: Laya_社区 发布时间: 20170116
...响事件的触发这里是随便取的名。 ```typescript import laya.d3.component.Script3D; class SceneScript extends Script3D { //用于表现的方法 public var showMsgFunc:Function; public function SceneScript() { } //对应unity添加的AnimationEvent的动画事件函数,名字是可以...
来源: Laya2.0_文档 发布时间: 20210715
... Offset is outside the bounds of the DataView 代码: package com.ppt.components.role { import laya.ani.bone.Skeleton; import laya.ani.bone.Templet; import laya.events.Event; public class CombatRole extends BaseRole { private var _templet...
来源: Laya_社区 发布时间: 20170204
...= complete[static] 定义 complete 事件对象的 type 属性值。Event COMPONENT_ADDED : String = componentadded[static] 定义 componentadded 事件对象的 type 属性值。Event COMPONENT_REMOVED : String = componentremoved[static] 定义 componentremoved 事件对象的 type 属性值。Ev...
来源: laya_api 发布时间: 20170929
...览: 1249 关注: 3 人 king • 2018-01-29 17:47 package { import laya.d3.component.Script; import laya.d3.core.BaseCamera; import laya.d3.core.Camera; import laya.d3.core.Sprite3D; import laya.d3.core.render.RenderState; import laya.d3.core.scene.BaseScene; import laya.d3.core.scene.Scene; import ...
来源: Laya_社区 发布时间: 20170218
... "exclude": [ "node_modules", "bower_components", "jspm_packages", "tmp", "temp", "bin" ] } 是不是现在的版本需要在Main.js或者GameCofig.js里面引用自己建的js文件啊,...
来源: Laya_社区 发布时间: 20181218
...t read property 'props' of undefined Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot...
来源: Laya_社区 发布时间: 20190418