大约有 404 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0088 秒)
...alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouse...
来源: Laya3.0_api 发布时间: 20231115
...Manager" TipManager Class TipManager 鼠标提示管理类 Hierarchy UIComponent TipManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx offsetX offsetY tipBackColor tipDelay tipTextColor Accessors _i...
来源: Laya3.0_api 发布时间: 20231115
...alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items left mask...
来源: Laya3.0_api 发布时间: 20231115
...alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouse...
来源: Laya3.0_api 发布时间: 20231115
...alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouse...
来源: Laya3.0_api 发布时间: 20231115
...置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode addLine(startPosition:Vector3, endPosition:Vector3, startColor:Color, endColor:C...
来源: Laya2.0_api 发布时间: 20190513
...置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 ...
来源: Laya2.0_api 发布时间: 20190513
...lass } = Laya; @regClass() export class ProtobufDemo extends Laya.Script { onEnable() { console.log("Game start"); } } 2.2 Protobuf示例脚本 引入了protobuf模块就可以直接在项目中使用了,这里我们写了一个简单的示例DEMO,完整代码如下: // src/ProtobufDemo.ts // ...
来源: Laya3.0_文档 发布时间: 20251010
...nInEditor来让组件在IDE内加载时也可以触发生命周期方法(onEnable、onStart等所有的组件脚本生命周期方法)。示例代码如下: const { regClass, property, runInEditor } = Laya; @regClass() @runInEditor //重点看这里,要放到类之前,@regClass()与@runInE...
来源: Laya3.0_文档 发布时间: 20251010
...置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode addLayer(layer:int):void 增加可视图层,layer值为0到31层。 BaseCamera ...
来源: Laya2.0_api 发布时间: 20190513