大约有 410 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
...起个名 private fontName: string = "diyFont"; constructor() {super();} onAwake(): void { //加载位位图字体 this.loadBitmapFont(); } /** * 实例化位图字体类,并加载位图字体 */ loadBitmapFont(): void { let bitmapFont: Laya.BitmapFont = new Laya.BitmapFont(); bitmapFont.loadFont(...
来源: Laya2.0_文档 发布时间: 20210715
... export class MultiLight extends BaseScript { constructor() { super(); } onAwake(): void { var moveScript: LightMoveScript = this.camera.addComponent(LightMoveScript); var moverLights: Laya.Sprite3D[] = moveScript.lights; var offsets: Vector3[] = moveScript.offsets; var moveRanges: Vector3[] = moveS...
来源: Laya3.0_文档 发布时间: 20251010
...mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node once(type:String, caller:*, listener:Function, args:A...
来源: Laya2.0_api 发布时间: 20190513
...s } = Laya; @regClass() export default class IndexRT extends IndexRTBase { onAwake(): void { //设置舞台设计宽高 Laya.stage.designWidth = 1080; Laya.stage.designHeight = 1920; //在引擎初始化之后改变舞台设置的话,必须要手动调用一次updateCanvasSize方法,否则不会...
来源: Laya3.0_文档 发布时间: 20251010
...ouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node once(type:String, caller:*, listener:Function, args:...
来源: Laya2.0_api 发布时间: 20190513
...ouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node once(type:String, caller:*, listener:Function, args:...
来源: Laya2.0_api 发布时间: 20190513
...mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node once(type:String, caller:*, listener:Function, args:A...
来源: Laya2.0_api 发布时间: 20190513
...ouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node once(type:String, caller:*, listener:Function, args:...
来源: Laya2.0_api 发布时间: 20190513
...ouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node once(type:String, caller:*, listener:Function, args:...
来源: Laya2.0_api 发布时间: 20190513
...ouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Sprite onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 此方法为虚方法,使用时重写覆盖即可 Node once(type:String, caller:*, listener:Function, args:...
来源: Laya2.0_api 发布时间: 20190513