export class Dictionary<KT, VT> {
private keys: KT[] = [];
private values: VT[] = [];
private isCache: boolean;
public get count(): number {
return this.Count();
}
public constructor(isCache: boolean = false) {
this.isCache = isCache;
}
public Add(key: any,
CocosCreator 字典实现
于 2022-05-06 09:38:00 首次发布