大约有 86 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0024 秒)
... "#232628"; setup(); })(); function setup() { createLabel("#FFFFFF", null).pos(30, 50); createLabel("#00FFFF", null).pos(290, 50); createLabel("#FFFF00", "#FFFFFF").pos(30, 100); createLabel("#000000", "#FFFFFF").pos(290, 100); createLabel("#FFFFFF", "#00FFFF").pos(30, 150); createLabel("#0080FF", "...
来源: Laya2.0_文档 发布时间: 20210714
... this.setup(); } private setup(): void { this.createLabel("#FFFFFF", null).pos(30, 50); this.createLabel("#00FFFF", null).pos(290, 50); this.createLabel("#FFFF00", "#FFFFFF").pos(30, 100); this.createLabel("#000000", "#FFFFFF").pos(290, 100); this.createLabel("#FFFFFF", "#00FFFF").pos(30, 150); this...
来源: Laya2.0_文档 发布时间: 20210715
...d { //创建各种文本效果并设置位置 createLabel("#FFFFFF", null).pos(30, 50); createLabel("#00FFFF", null).pos(290, 50); createLabel("#FFFF00", "#FFFFFF").pos(30, 100); createLabel("#000000", "#FFFFFF").pos(290, 100); createLabel("#FFFFFF", "#00FFFF").pos(30, 150); createLabel("#0080FF", "...
来源: Laya2.0_文档 发布时间: 20210714
...板创建动画播放对象 skeleton0=templet.buildArmature(0); skeleton0.pos(200,700); //切换动画皮肤 skeleton0.showSkinByIndex(1); //播放 skeleton0.play(0,true); Laya.stage.addChild(skeleton0); //创建第二个动画 var skeleton1; skeleton1=templet.buildArmature(0); skeleton1.pos(500,700...
来源: Laya2.0_文档 发布时间: 20210715
..., 1, 1)))); //设置材质 var transform: Transform3D = box.transform; var pos: Vector3 = transform.position; pos.setValue(0, 5, 0); transform.position = pos; //创建刚体碰撞器 var rigidBody: Rigidbody3D = box.addComponent(Rigidbody3D); //创建盒子形状碰撞器 var boxShape: BoxColliderSh...
来源: Laya2.0_文档 发布时间: 20210715
..., 1, 1)))); //设置材质 var transform: Transform3D = box.transform; var pos: Vector3 = transform.position; pos.setValue(0, 5, 0); transform.position = pos; //创建刚体碰撞器 var rigidBody: Rigidbody3D = box.addComponent(Rigidbody3D); //创建盒子形状碰撞器 var boxShape: BoxColliderSh...
来源: Laya2.0_文档 发布时间: 20210715
...shSprite3D; //设置材质 var transform: Transform3D = box.transform; var pos: Vector3 = transform.position; pos.setValue(0, 5, 0); transform.position = pos; //创建刚体碰撞器 var rigidBody: Rigidbody3D = box.addComponent(Rigidbody3D); //创建盒子形状碰撞器 var boxShape: BoxColliderSh...
来源: Laya2.0_文档 发布时间: 20210714
...建动画播放对象 skeleton0 = this.templet.buildArmature(0); skeleton0.pos(200, 700); //切换动画皮肤 skeleton0.showSkinByIndex(1); //播放 skeleton0.play(0, true); Laya.stage.addChild(skeleton0); //创建第二个动画 var skeleton1: Laya.Skeleton; skeleton1 = this.templet.buildArmature(...
来源: Laya2.0_文档 发布时间: 20210715
...创建动画播放对象 skeleton0 = templet.buildArmature(0); skeleton0.pos(200, 700); //切换动画皮肤 skeleton0.showSkinByIndex(1); //播放 skeleton0.play(0,true); Laya.stage.addChild(skeleton0); //创建第二个动画 var skeleton1:Skeleton; skeleton1 = templet.buildArmature(0); skeleton1....
来源: Laya2.0_文档 发布时间: 20210715
..., 0.3); layaMonkey.transform.localScale = tmpLocalScale; /*添加部分*/ _pos.x = Laya.stage.mouseX; _pos.y = Laya.stage.mouseY; //转换2D屏幕坐标系统到3D正交投影下的坐标系统 camera.convertScreenCoordToOrthographicCoord(this._pos, this._translate); layaMonkey.transform.position = ...
来源: Laya2.0_文档 发布时间: 20210715