大约有 112 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0099 秒)
...ScaleX globalScaleY graphics gray height hideFlags hitArea iconOffset is3D label labelAlign labelBold labelColors labelFont labelPadding labelSize labelStroke labelStrokeColor labelVAlign left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollR...
来源: Laya3.0_api 发布时间: 20231115
...radioGroup.pos(100, 100);//设置 radioGroup 的位置信息。 radioGroup.labels = "item0,item1,item2";//设置 radioGroup 的标签集。 radioGroup.skin = "resource/ui/radio.png";//设置 radioGroup 的皮肤。 radioGroup.space = 10;//设置 radioGroup 的项间隔距离。 radioGroup.selectHand...
来源: Laya3.0_api 发布时间: 20231115
...Index Constructors constructor Properties _extra _singleton category group label mask owner runInEditor scriptPath Accessors allowRotation allowSleep angularDamping angularVelocity awaked body bullet destroyed enabled gravityScale hideFlags id linearDamping linearVelocity type Methods _getOriBody _i...
来源: Laya3.0_api 发布时间: 20231115
...设置公用属性var为tab,用于程序调用控制。设置常用属性labels为“雪人,糖罐,绿树”, 选择的按钮索引selectedIndex 为0。再设置其他属性中的字体大小、粗体、字体状态颜色等。 显示效果如图6所示:  ...
来源: Laya2.0_文档 发布时间: 20210715
...s | Events Packagelaya.uiClasspublic class TextInputInheritanceTextInput Label UIComponent Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Pro...
来源: Laya2.0_api 发布时间: 20190513
...ent):* 添加组件实例。 Node addInputChild(node:Node):NodeNode addLabel(label:String, index:int):void 增加一个标签到index帧上,播放到此index后会派发label事件 MovieClip callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示...
来源: Laya2.0_api 发布时间: 20190513
...象 tab 。 tab.skin = "resource/ui/tab.png";//设置 tab 的皮肤。 tab.labels = "item0,item1,item2";//设置 tab 的标签集。 tab.x = 100;//设置 tab 对象的属性 x 的值,用于控制 tab 对象的显示位置。 tab.y = 100;//设置 tab 对象的属性 y 的值,用于控制 tab 对...
来源: Laya3.0_api 发布时间: 20231115
...置。 Node addChildren(... args):void 批量增加子节点 Node addLabel(label:String, index:int):void 增加一个帧标签到指定索引的帧上。当动画播放到此索引的帧时会派发Event.LABEL事件,派发事件是在完成当前帧画面更新之后。 AnimationPlayerBase ...
来源: laya_api 发布时间: 20170929
...ya.ColliderBase, contact?: any): void { // 假如碰到了炸弹 if (other.label == "bomb") { // 此处省略爆炸伤害的逻辑 console.log("碰到炸弹:" + self.label + "受到伤害,生命值减少xx"); } else if (other.label == "Medicine") { // 假如碰到了药箱 // 此处省略恢复...
来源: Laya3.0_文档 发布时间: 20251010
...位置。 Node addChildren(... args):void 批量增加子节点 Node addLabel(label:String, index:int):void 增加一个标签到index帧上,播放到此index后会派发label事件 AnimationPlayerBase clear():void[override] 清理。方便对象复用。FrameAnimation clearTimer(caller:*, met...
来源: laya_api 发布时间: 20170422