大约有 1,229 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0046 秒)
...log=Laya.Dialog; var Scene=Laya.Scene; var REG = Laya.ClassUtils.regClass; export class kick_effectUI extends EffectAnimation { //然后又改成Laya.EffectAnimation constructor(){ super(); this.ani1=null; this.effectData =ui.kick_effectUI.uiView;; } } kick_effectUI.uiView={"type":"View","props":{},...
来源: Laya_社区 发布时间: 20210111
...aya.ProgressBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ProgressBar { private progressBar: ProgressBar; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CEN...
来源: Laya2.0_示例 发布时间: 20240930
...Laya.Loader; import Texture = Laya.Texture; import Handler = Laya.Handler; export class Loader_SingleType { constructor() { Laya.init(550, 400); // 加载一张png类型资源 Laya.loader.load("../../res/apes/monkey0.png", Handler.create(this, this.onAssetLoaded1)); // 加载多张png类型资源 La...
来源: Laya_示例 发布时间: 20240930
...ext = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_AutoSize { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showal...
来源: Laya2.0_示例 发布时间: 20240930
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/BoundsImpl" BoundsImpl Class BoundsImpl BoundsImp 类用于创建包围体。 Hierarchy BoundsImpl Implements IClone Index Constructors constructor Properties _boundBox Accessors max min Me...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/KeyframeNode2D" KeyframeNode2D Class KeyframeNode2D Hierarchy KeyframeNode2D Index Properties _indexInList _keyFrames _ownerPath _propertys fullPath nodePath Accessors keyFramesCount own...
来源: Laya3.0_api 发布时间: 20231115
...脚本控制ComboBox: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.ComboBox }) public combobox: Laya.ComboBox; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): vo...
来源: Laya3.0_文档 发布时间: 20231008
...文件引用顺序不正确,我今天试了下,可以使用ts的import/export处理这个问题 一、调试 修改tsconfig.json,把module和target都改为ES6,因为es6的语法和ts很像,调试的时候看es6就可以了,索性把sourceMap也关掉{ "compilerOptions": { "module": "ES6...
来源: Laya_社区 发布时间: 20171120
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/shape/SphereColliderShape" SphereColliderShape Class SphereColliderShape SphereColliderShape 类用于创建球形碰撞器。 Hierarchy ColliderShape SphereColliderShape Implements IClo...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator/AnimatorTransition" AnimatorTransition Class AnimatorTransition Hierarchy AnimatorTransition Index Constructors constructor Accessors conditions destState exitByTime exitTime ...
来源: Laya3.0_api 发布时间: 20231115