ES6:https://es6.ruanyifeng.com/ 服务器Egg:https://eggjs.org/zh-cn/intro/quickstart.html Unity:https://docs.unity3d.com/2020.2/Documentation/Manual/Avatar Read More
public static getAngle(pointA, pointB): number {//通过两点获得角度 let mx = pointA.x; let my = pointA.y; let px = pointB.x; let py = pointB.y; var x = Math.ab Read More
1.get函数 2.new() ex: private static _ins: View; public static get ins(): View { let s = this; if (!s._ins) { s._ins = new View(); } return s._ins; } pu Read More
s.txt_message.prompt = “*********” //输入框默认显示文字 Read More
/** * vo.timeZone 时区 与标准时间差 毫秒 */ timeZone = Math.round(vo.timeZone / 1000 / 3600); /** * 获取某一时区的时间 * tm 服务器时间 * zone 服务器时区 */ static newDate(tm: numb Read More
1.object: let object = {};对象字面量; 2.Array: 1)检测是否是数组:arr instanceof Array. Array.isArray(arr) . 2)shift,unshift,push,pop,concat,reverse,sort Read More
namespace byh { /** * 环形组件 */ export class ComRingScroller extends egret.EventDispatcher { public static create(itemArr: any[], offX: number = 0): Com Read More
1.index.html 1.<div> 入口文件,帧频... 2.<div>账号,服务器等设置,登录 3.本地存储账号信息,启动登录,进入口文件 2.main.ts 1.适配 2.注册APP,初始各种管理器。 3.loginModel加socket。 Read More
/**************11111************************/ private timeName: number; private isCanClick: boolean; private timeNum: number = 10; private clickFun(): Read More