大约有 227 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0076 秒)
...经拥有的text显示状态 if (own){ if(HostData.array[index].lock){ own.visible = false; }else{ own.visible = true; } } var lock :Button = cell.getChildByName("lock") as Button; if(lock){ lock.visible = HostData.array[index].lock;//默认角色购买锁定状态赋值 lock.disabled =Hos...
来源: Laya_社区 发布时间: 20180522
...his.hideImage); } hideImage(): void { console.log("hideImage"); this.Image.visible = false; } } 5. 清理定时器 Laya.timer.clear:清理指定的定时器。定义如下: /** * 清理定时器。 * @param caller 执行域(this)。 * @param method 定时器回调函数。 */ clear(caller: any, ...
来源: Laya3.0_文档 发布时间: 20241014
...t skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroyChildren drawToCanvas drawToTexture...
来源: Laya3.0_api 发布时间: 20231102
...t skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroyChildren drawToCanvas drawToTexture...
来源: Laya3.0_api 发布时间: 20231102
...numChildren : int[read-only] 子对象数量。 Node overflow : String = visible overflow 指定文本超出文本域后的行为。其值为"hidden"、"visible"和"scroll"之一。 性能从高到低依次为:hidden > visible > scroll。 Text padding : Array 边距信息。 数据格式...
来源: Laya2.0_api 发布时间: 20190513
...ollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addAniSprite addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearAll clearTimer contains customRender destroy destroyChildre...
来源: Laya3.0_api 发布时间: 20231115
...ollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToT...
来源: Laya3.0_api 发布时间: 20231115
...否移动到舞台外部,然后移除回收 if(role.y>1000 || !role.visible || (role.isBullet && role.y < -20)){ // 从舞台移除 role.removeSelf(); // 回收前重置属性信息 role.isBullet = false; role.visible = true; // 回收到对象池 Laya.Pool.recover("role",role); } } ...
来源: Laya_社区 发布时间: 20170525
...ollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearAll clearTimer contains customRender destroy destroyChildren drawToCanva...
来源: Laya3.0_api 发布时间: 20231115
...YPE_PASSWORD TYPE_RANGE TYPE_SEARCH TYPE_TEXT TYPE_TIME TYPE_URL TYPE_WEEK VISIBLE _passwordChar drawtocanvCtx isAppUseNewInput langPacks Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bold borderColor cacheAs color components customRenderEn...
来源: Laya3.0_api 发布时间: 20231115