大约有 24 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0024 秒)
Laya_社区(11) Laya_示例(3) Laya3.0_文档(2) Laya3.0_api(2) Laya2.0_文档(2) Laya2.0_示例(2) laya_api(1) Laya2.0_api(1)
...屏幕来切换动画 import { MainBase } from "./Main.generated"; import KeyBoardManager = Laya.InputManager; import Keyboard = Laya.Keyboard; const { regClass, property } = Laya; @regClass() export class Main extends MainBase { private _animator: Laya.Animator; private _isRun: boolean; onAwake() {...
来源: Laya3.0_文档 发布时间: 20251010
...ivity android:name="com.facebook.FacebookActivity" android:configChanges= "keyboard|keyboardHidden|screenLayout|screenSize|orientation" android:label="@string/app_name" /> 设置 <meta-data android:name="android.max_aspect" android:value="2.1" /> 2018-12-14 0 1 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20181208
...android:windowSoftInputMode="stateHidden|adjustPan" android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.cat...
来源: Laya_社区 发布时间: 20170722
... 0); } onKeyDown(evt: Laya.Event): void { switch (evt.keyCode) { case Laya.Keyboard.SPACE: //按键盘空格时 this.characterController.jump(this.jumpVector); // 跳跃 break; } } } 4.4 获得垂直速度 getVerticalVel() 垂直速度方法主要用于获取角色在垂直方向(通常是 Y 轴...
来源: Laya3.0_文档 发布时间: 20251010